* Implement hasTag onto BiomeContext
* Improve optional handling
[norelease] to allow for version bumping and reformatting before release
(cherry picked from commit 16a7d23602)
* Platform#getFilePath now actually returns the *root* path on forge
Signed-off-by: Max <maxh2709@gmail.com>
* Add Mod#findResource (please stop yelling at me now kthx)
Signed-off-by: Max <maxh2709@gmail.com>
[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>
* 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
* 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
* Add LifecycleEvent.SETUP for manipulating things after normal initialization
* Improve javadocs
* Fix broken english
* Update common/src/main/java/dev/architectury/event/events/common/LifecycleEvent.java
Co-authored-by: BasiqueEvangelist <basiqueevangelist@yandex.ru>
Signed-off-by: Max <maxh2709@gmail.com>