* 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>
* 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>
* Add rudimentary support for modrinth publishing
Signed-off-by: Max <maxh2709@gmail.com>
* Reformat, disambiguate version number
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>
* 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>
* 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>
* 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