All Methods Static Methods Instance Methods Abstract Methods Default Methods
Modifier and Type |
Method and Description |
default boolean |
canBeReplacedWith(BlockView world,
BlockPos pos,
Fluid fluid,
Direction direction) |
static <T> FluidState |
deserialize(com.mojang.datafixers.Dynamic<T> dynamic) |
default float |
getBlastResistance() |
default BlockState |
getBlockState() |
Fluid |
getFluid() |
default float |
getHeight() |
default float |
getHeight(BlockView world,
BlockPos pos) |
default int |
getLevel() |
default ParticleEffect |
getParticle() |
default VoxelShape |
getShape(BlockView world,
BlockPos pos) |
default Vec3d |
getVelocity(BlockView world,
BlockPos pos) |
default boolean |
hasRandomTicks() |
default boolean |
isEmpty() |
default boolean |
isStill() |
default boolean |
matches(Tag<Fluid> tag) |
default boolean |
method_15756(BlockView world,
BlockPos pos) |
default void |
onRandomTick(World world,
BlockPos pos,
Random random) |
default void |
onScheduledTick(World world,
BlockPos pos) |
default void |
randomDisplayTick(World world,
BlockPos pos,
Random random) |
static <T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops,
FluidState state) |