Commit Graph

413 Commits

Author SHA1 Message Date
shedaniel
42684fd87a Add way for other mods to indicate that they are fake players (#202)
* Add way for other mods to indicate that they are fake players

* Implement "reasonable default" for fake players and fix inverted logic

Signed-off-by: Max <maxh2709@gmail.com>

Co-authored-by: Max <maxh2709@gmail.com>
2022-05-26 20:15:30 +02:00
Max
a3271966ad Merge remote-tracking branch 'origin/1.18.2' into 1.18.2 2022-05-22 19:49:48 +02:00
Max
7abfd95e7b Add quilt to list of supported loaders (thanks to @wafflecoffee for confirming!)
[ci skip]

Signed-off-by: Max <maxh2709@gmail.com>
2022-05-22 19:49:42 +02:00
Max
56c36e2162 [ci skip] Update README.md 2022-05-22 18:55:26 +02:00
Max
4da029729c Add rudimentary support for modrinth publishing (#263)
* Add rudimentary support for modrinth publishing

Signed-off-by: Max <maxh2709@gmail.com>

* Reformat, disambiguate version number

Signed-off-by: Max <maxh2709@gmail.com>
2022-05-22 18:01:35 +02:00
Max
b3e3c7ee00 [ci skip] Mark classloading hack as Internal
Signed-off-by: Max <maxh2709@gmail.com>
2022-05-11 00:52:34 +02:00
Max
aa008479a1 Fix fluid testmod, add dummy init method to FluidStack (classloading 😍)
Signed-off-by: Max <maxh2709@gmail.com>
2022-05-11 00:49:36 +02:00
shedaniel
fbb1868c0e Try to fix #256 again 2022-05-09 00:04:17 +08:00
shedaniel
476cea2aff Make Architectury API publish to the same CF project
(cherry picked from commit b11b717671)
(cherry picked from commit a59d038a1f)
2022-05-07 22:02:38 +08:00
shedaniel
71446496d4 Fix #256 2022-05-07 21:59:31 +08:00
Max
34a27866dd Bump to release version 4.4 2022-05-06 13:51:51 +02:00
shedaniel
bd9b3e73e4 Add fluid block and flowing fluid (#251)
[ci skip]

Squash of the following commits:

* Add way to register fluids and fluid attributes, WIP UNTESTED
* Move to correct package
* Update forge/build.gradle
* Add bucket item wrapper and add test mod
* Make it easier to declare attributes by suppliers
* Fix fabric support
* Change SimpleArchitecturyFluidAttributes to accept Supplier<Optional<T>>
* Make ArchitecturyLiquidBlock and ArchitecturyBucketItem accept Supplier
* Update testmod
* Link javadocs in the builder to make it easier to check
* Add ArchitecturyMobBucketItem and fix caps on ArchitecturyBucketItem
* Make SimpleArchitecturyFluidAttributes accept wildcard fluids
* getContainingFluid -> getContainedFluid
* Add supplier variant of the methods

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: Max <maxh2709@gmail.com>
2022-05-06 13:51:25 +02:00
shedaniel
3532d24577 Fix some broken features and random crashes (#253)
[ci skip]
2022-05-06 13:40:02 +02:00
shedaniel
5318686674 Add ArchitecturyRecordItem (#250)
[ci skip]
2022-05-06 13:39:37 +02:00
shedaniel
a9b576434a Bump to 4.3 2022-05-02 01:43:12 +08:00
shedaniel
ad879a803c [ci cancel] Add more fluid attributes (#247) 2022-05-02 01:41:19 +08:00
shedaniel
85146c5cc0 Introduce FluidBucketHooks.getFluid (#243)
* Introduce FluidBucketHooks.getFluid

* Update common/src/main/java/dev/architectury/hooks/fluid/FluidBucketHooks.java

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2022-04-19 01:37:13 +08:00
Emma C. Pointer-Null
c4ab233286 Make AW for MenuType$MenuSupplier transitive, deprecate MenuRegistry.of (#244) 2022-04-16 20:16:46 +08:00
shedaniel
b58658ac69 Fix createLoop for RENDER_CONTAINER_BACKGROUND
(cherry picked from commit 05444b723a)
2022-04-15 12:47:02 +08:00
shedaniel
2c6784560e Bump to 4.2 2022-04-15 12:40:06 +08:00
shedaniel
2c818cf492 [ci skip] Add container render events (#240) 2022-04-15 12:39:44 +08:00
Juuxel
8d142d6a20 Update MenuRegistryImpl to Fabric API 0.50.0 (#237) 2022-04-11 02:20:25 +08:00
shedaniel
77a0af6c03 Synchronise EventBuses properly, hopefully fixing "Where is architectury" race (#235)
* Synchronise it properly?

* Use synchronised maps rather than local synchronisation

Signed-off-by: Max <maxh2709@gmail.com>
Co-authored-by: shedaniel <daniel@shedaniel.me>
2022-04-10 03:40:55 +02:00
shedaniel
905407e49c Add 1.18.2 version constraints 2022-04-02 22:05:33 +08:00
shedaniel
d15fa9fd1b Fix #226 2022-03-27 17:01:56 +08:00
shedaniel
03da3e6bfb Fix RegistrySupplier#listen and ArchitecturySpawnEggItem (#228) 2022-03-26 19:56:31 +08:00
Hiroku
f9d8a59790 Fixed EntitySpawnExtension buffer being unable to be read from, Fix #208 (#220)
* Fixed EntitySpawnExtension buffer being unable to read from, #208

* Release the extensions buffer when it is no longer needed

* Cleaned the buffer fix for EntitySpawnExtension

Co-authored-by: Paul <paul.l.preston@hotmail.com>
2022-03-20 20:26:47 +08:00
shedaniel
36a5aea8aa Big clean up, more details in the PR (#216)
* Big clean up, more details in the PR

* Fix build

* Deprecate BlockProperties, generate AWs for Item constructors, Block constructors and RenderStateShard fields

* Add a few more RenderType AWs

* Deprecate BlockPropertiesExtension

* Set defaultType on resolving the entity type in SpawnEggItem

* Used the wrong object

* Add license information for generating AWs

* Add link to original PR

* Properly add support for forge vanilla registries

* Bump to 4.1
2022-03-12 00:01:49 +08:00
shedaniel
5f63bbafea Prevent getFeatures from crashing due to IndexOutOfRange 2022-03-04 09:50:23 +08:00
shedaniel
fd57796eb2 Mark as release 2022-03-02 13:31:36 +08:00
shedaniel
711cf507ad Increase gradle memory 2022-03-02 13:28:44 +08:00
shedaniel
d550eef8e2 Update to Forge 1.18.2 2022-03-02 11:43:45 +08:00
shedaniel
b0517249b6 Merge remote-tracking branch 'architectury/1.18' into 1.18.2 2022-03-02 10:21:31 +08:00
Max
ae849d58c8 Explicitly call Path.normalize on Platform paths, fixing #212
Signed-off-by: Max <maxh2709@gmail.com>
2022-02-27 15:51:09 +01:00
shedaniel
83d9922a50 1.18.2-rc1 2022-02-27 18:20:34 +08:00
shedaniel
4508b98573 Merge remote-tracking branch 'architectury/1.18' into 1.18.2 2022-02-27 18:13:36 +08:00
shedaniel
8393cabe20 Bump to 1.18.2-pre2 and bring back biome api 2022-02-22 10:26:37 +08:00
shedaniel
e0cbeb45ed Mark OptiFabric as incompatible (#203) 2022-02-20 00:35:33 +08:00
shedaniel
73bb926f66 Update to 1.18.2-pre1 & Bump to 4.0 2022-02-19 19:49:25 +08:00
shedaniel
6d1570d289 Fix EventBuses always failing 2022-02-19 02:06:26 +08:00
shedaniel
d2cb2a6f68 Merge remote-tracking branch 'architectury/1.18' into 1.18.2 2022-02-19 00:58:24 +08:00
shedaniel
4c5bb1e8a5 Bump to 3.7 2022-02-19 00:45:45 +08:00
shedaniel
b5aa583b02 [ci skip] Introduce item as an additional context (#189)
* Introduce item as an additional context

* Remove @Internal
2022-02-19 00:43:41 +08:00
shedaniel
60b21d2364 [ci skip] Allow registering entries after it has been collected on Forge (#193)
* Allow registering entries after it has been collected on Forge

* Fix compilation
2022-02-19 00:43:32 +08:00
shedaniel
397e5c7a6a [ci skip] Requires Fabric Loader 0.13.0 (#194) 2022-02-19 00:43:22 +08:00
Max
4c2ccc043e [ci skip] Some cleanup for Platform class and other platform-specific stuff (#201)
* Ensure paths returned by Platform are absolute, add javadocs to Platform

Signed-off-by: Max <maxh2709@gmail.com>

* Use putIfAbsent for event buses to clean up some minor nastyness

Signed-off-by: Max <maxh2709@gmail.com>

* Remove explicit NotNull annotation
2022-02-19 00:43:12 +08:00
shedaniel
6d1a5f081c Properly update to 22w06a 2022-02-12 02:03:53 +08:00
shedaniel
6dff58485f Drop 1.18/1.18.1 Support, it now compiles 2022-02-10 10:03:56 +08:00
shedaniel
d3d5b89d99 Merge remote-tracking branch 'architectury/1.18' into feature/1.18.2 2022-02-10 08:59:25 +08:00
Max
917b70d50a Make DeferredRegister iterable
Signed-off-by: Max <maxh2709@gmail.com>
2022-02-06 13:10:40 +01:00