Class RegisterCauldronFluidContentEvent

java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.fluids.RegisterCauldronFluidContentEvent
All Implemented Interfaces:
net.neoforged.fml.event.IModBusEvent

public class RegisterCauldronFluidContentEvent extends net.neoforged.bus.api.Event implements net.neoforged.fml.event.IModBusEvent
Event to register CauldronFluidContent for modded cauldrons.

Registering cauldrons is done by calling CauldronFluidContent.register(net.minecraft.world.level.block.Block, net.minecraft.world.level.material.Fluid, int, net.minecraft.world.level.block.state.properties.IntegerProperty) and allows all cauldrons registered in this way to interoperate with each other when accessed via the Capabilities.FluidHandler.BLOCK capability.