-
-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement fluid handler support for cauldrons #369
Implement fluid handler support for cauldrons #369
Conversation
patches/net/minecraft/world/level/block/AbstractCauldronBlock.java.patch
Show resolved
Hide resolved
patches/net/minecraft/world/level/block/AbstractCauldronBlock.java.patch
Show resolved
Hide resolved
patches/net/minecraft/world/level/block/AbstractCauldronBlock.java.patch
Show resolved
Hide resolved
src/main/java/net/neoforged/neoforge/fluids/CauldronFluidContent.java
Outdated
Show resolved
Hide resolved
src/main/java/net/neoforged/neoforge/fluids/capability/wrappers/CauldronWrapper.java
Outdated
Show resolved
Hide resolved
src/main/java/net/neoforged/neoforge/fluids/capability/wrappers/CauldronWrapper.java
Outdated
Show resolved
Hide resolved
src/main/java/net/neoforged/neoforge/fluids/capability/wrappers/CauldronWrapper.java
Outdated
Show resolved
Hide resolved
src/main/java/net/neoforged/neoforge/fluids/capability/wrappers/CauldronWrapper.java
Outdated
Show resolved
Hide resolved
src/main/java/net/neoforged/neoforge/fluids/capability/wrappers/CauldronWrapper.java
Outdated
Show resolved
Hide resolved
src/main/java/net/neoforged/neoforge/fluids/capability/wrappers/CauldronWrapper.java
Outdated
Show resolved
Hide resolved
How does this handle the 999/1000 discrepancy? If it lets you insert 333mb to increase a level, there's a potential exploit where you insert 333mb 3 times, then extract 1000mb to create an additional millibucket. Not particularly valuable in regular gameplay, but if you're in the Nether, have finite water enabled, etc it could be exploitable. Moreso if anyone adds a cauldron block for other fluids. |
You can only insert 1000 at once. |
Cauldrons need to be registered to
RegisterCauldronFluidContentEvent
if they want to be part of this system.