File Details
dispense-cauldron-fluid-1.0.1.jar
- R
- Nov 24, 2024
- 172.41 KB
- 65
- 1.21
- Fabric
File Name
dispense-cauldron-fluid-1.0.1.jar
Supported Versions
- 1.21
Curse Maven Snippet
Changelog: Bugfix for Dispenser Behavior Overriding
[Version 1.0.1] - 24-11-2024
Fixed
- Preservation of Default Dispenser Behaviors:
Fixed an issue where custom dispenser behaviors forLAVA_BUCKET,WATER_BUCKET, andBUCKETunintentionally overrode the default behavior of dispensers, causing fluids to not flow into the world when no block was in front of the dispenser.
Changed
- Custom Dispenser Behaviors:
UpdatedLavaCauldronDispenserBehavior,WaterCauldronDispenserBehavior, andEmptyCauldronDispenserBehaviorto integrate with the existing dispenser behavior logic:- Custom logic now applies only when a cauldron is in front of the dispenser.
- Default dispenser behavior is preserved for all other cases by delegating to the pre-existing behavior using
DispenserBlock.BEHAVIORS.get(...).
Added
- Composite Dispenser Behaviors:
Implemented a fallback mechanism to ensure dispensers default to their original behavior when the custom cauldron logic is not triggered.
Example Use Case
- A dispenser containing a lava bucket:
- If a cauldron is in front, it fills the cauldron with lava and replaces the lava bucket with an empty bucket.
- If no cauldron is in front, lava flows into the world as per the default behavior.
This update ensures compatibility with vanilla dispenser mechanics while enhancing cauldron interactions.

