[ci skip]
* Add PlayerEvent.ATTACK_ENTITY
* Fired from Forge's AttackEntityEvent and Fabric's AttackEntityCallback
* When player is about to attack any entity (not just living) with left-click
* javadoc parameter alignment
* import cleanup
[ci skip]
* Add support for adding PacketTransformers to SimpleNetworkManager messages
* Mark new methods as experimental, add javadocs
* Update common/src/main/java/dev/architectury/networking/simple/SimpleNetworkManager.java
* Update common/src/main/java/dev/architectury/networking/simple/SimpleNetworkManager.java
Co-authored-by: shedaniel <daniel@shedaniel.me>
* 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>
* 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>