public interface IWaterLoggable extends IBucketPickupHandler, ILiquidContainer
Modifier and Type | Method and Description |
---|---|
default boolean |
canContainFluid(IBlockReader worldIn,
BlockPos pos,
BlockState state,
Fluid fluidIn) |
default Fluid |
pickupFluid(IWorld worldIn,
BlockPos pos,
BlockState state) |
default boolean |
receiveFluid(IWorld worldIn,
BlockPos pos,
BlockState state,
IFluidState fluidStateIn) |
default boolean canContainFluid(IBlockReader worldIn, BlockPos pos, BlockState state, Fluid fluidIn)
canContainFluid
in interface ILiquidContainer
default boolean receiveFluid(IWorld worldIn, BlockPos pos, BlockState state, IFluidState fluidStateIn)
receiveFluid
in interface ILiquidContainer
default Fluid pickupFluid(IWorld worldIn, BlockPos pos, BlockState state)
pickupFluid
in interface IBucketPickupHandler