public interface IFluidState extends IStateHolder<IFluidState>, IForgeFluidState
field_215672_b
Modifier and Type | Method and Description |
---|---|
default void |
animateTick(World p_206881_1_,
BlockPos p_206881_2_,
java.util.Random p_206881_3_) |
default boolean |
canDisplace(IBlockReader p_215677_1_,
BlockPos p_215677_2_,
Fluid p_215677_3_,
Direction p_215677_4_) |
static <T> IFluidState |
deserialize(com.mojang.datafixers.Dynamic<T> p_215681_0_) |
default float |
getActualHeight(IBlockReader p_215679_1_,
BlockPos p_215679_2_) |
default BlockState |
getBlockState() |
default IParticleData |
getDripParticleData() |
default float |
getExplosionResistance()
Deprecated.
|
default Vec3d |
getFlow(IBlockReader p_215673_1_,
BlockPos p_215673_2_) |
Fluid |
getFluid() |
default float |
getHeight() |
default int |
getLevel() |
default VoxelShape |
getShape(IBlockReader p_215676_1_,
BlockPos p_215676_2_) |
default boolean |
isEmpty() |
default boolean |
isSource() |
default boolean |
isTagged(Tag<Fluid> tagIn) |
default void |
randomTick(World worldIn,
BlockPos pos,
java.util.Random random) |
static <T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> p_215680_0_,
IFluidState p_215680_1_) |
default boolean |
shouldRenderSides(IBlockReader worldIn,
BlockPos pos) |
default void |
tick(World worldIn,
BlockPos pos) |
default boolean |
ticksRandomly() |
get, getName, getValues, with, withString
getExplosionResistance, getFluidState, isEntityInside
Fluid getFluid()
default boolean isSource()
default boolean isEmpty()
default float getActualHeight(IBlockReader p_215679_1_, BlockPos p_215679_2_)
default float getHeight()
default int getLevel()
default boolean shouldRenderSides(IBlockReader worldIn, BlockPos pos)
default void animateTick(World p_206881_1_, BlockPos p_206881_2_, java.util.Random p_206881_3_)
default boolean ticksRandomly()
default Vec3d getFlow(IBlockReader p_215673_1_, BlockPos p_215673_2_)
default BlockState getBlockState()
@Nullable default IParticleData getDripParticleData()
@Deprecated default float getExplosionResistance()
default boolean canDisplace(IBlockReader p_215677_1_, BlockPos p_215677_2_, Fluid p_215677_3_, Direction p_215677_4_)
static <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> p_215680_0_, IFluidState p_215680_1_)
static <T> IFluidState deserialize(com.mojang.datafixers.Dynamic<T> p_215681_0_)
default VoxelShape getShape(IBlockReader p_215676_1_, BlockPos p_215676_2_)