-
Method Summary
Static Methods
static boolean
holdsFluid(net.minecraft.world.item.ItemStack stack)
static boolean
holdsFluid(net.minecraft.world.level.Level level,
net.minecraft.core.BlockPos pos,
net.minecraft.world.level.block.state.BlockState state,
@Nullable net.minecraft.world.level.block.entity.BlockEntity entity,
@Nullable net.minecraft.core.Direction direction)
of(net.minecraft.world.level.Level level,
net.minecraft.core.BlockPos pos,
net.minecraft.world.level.block.state.BlockState state,
@Nullable net.minecraft.world.level.block.entity.BlockEntity entity,
@Nullable net.minecraft.core.Direction direction)
-
Method Details
-
of
@Nullable
@ImplementedByExtension
static @Nullable FluidContainer of(net.minecraft.world.level.Level level,
net.minecraft.core.BlockPos pos,
net.minecraft.world.level.block.state.BlockState state,
@Nullable
@Nullable net.minecraft.world.level.block.entity.BlockEntity entity,
@Nullable
@Nullable net.minecraft.core.Direction direction)
-
-
holdsFluid
@ImplementedByExtension
static boolean holdsFluid(net.minecraft.world.item.ItemStack stack)
-
holdsFluid
@ImplementedByExtension
static boolean holdsFluid(net.minecraft.world.level.Level level,
net.minecraft.core.BlockPos pos,
net.minecraft.world.level.block.state.BlockState state,
@Nullable
@Nullable net.minecraft.world.level.block.entity.BlockEntity entity,
@Nullable
@Nullable net.minecraft.core.Direction direction)