Add EntityFluidInteractionRegistry and EntityFluidEvents#ON_FLUID_INTERACTION_UPDATE#5335
Open
Patbox wants to merge 2 commits intoFabricMC:26.1.2from
Open
Add EntityFluidInteractionRegistry and EntityFluidEvents#ON_FLUID_INTERACTION_UPDATE#5335Patbox wants to merge 2 commits intoFabricMC:26.1.2from
Patbox wants to merge 2 commits intoFabricMC:26.1.2from
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds 2 pretty small api extension, that will make creation of custom fluids a bit easier.
EntityFluidInteractionRegistry
Part of content registry api's, adds a simple method to register custom TagKey that should be added into EntityFluidInteractions, making it and a bunch of existing entity methods work with custom fluids nicely.
EntityFluidEvents#ON_FLUID_INTERACTION_UPDATE
Part of entity events api, created to make it simple for mods to add custom fluid interaction such as fluids pushing the entity.