Package net.minecraft.fluid
Class EmptyFluid
- java.lang.Object
-
- net.minecraftforge.registries.ForgeRegistryEntry<Fluid>
-
- net.minecraft.fluid.Fluid
-
- net.minecraft.fluid.EmptyFluid
-
- All Implemented Interfaces:
IForgeFluid,IForgeRegistryEntry<Fluid>
public class EmptyFluid extends Fluid
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
-
Field Summary
-
Fields inherited from class net.minecraft.fluid.Fluid
FLUID_STATE_REGISTRY, stateDefinition
-
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
-
Constructor Summary
Constructors Constructor Description EmptyFluid()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanBeReplacedWith(FluidState p_215665_1_, IBlockReader p_215665_2_, BlockPos p_215665_3_, Fluid p_215665_4_, Direction p_215665_5_)protected BlockStatecreateLegacyBlock(FluidState p_204527_1_)intgetAmount(FluidState p_207192_1_)ItemgetBucket()protected floatgetExplosionResistance()Vector3dgetFlow(IBlockReader p_215663_1_, BlockPos p_215663_2_, FluidState p_215663_3_)floatgetHeight(FluidState p_215662_1_, IBlockReader p_215662_2_, BlockPos p_215662_3_)floatgetOwnHeight(FluidState p_223407_1_)VoxelShapegetShape(FluidState p_215664_1_, IBlockReader p_215664_2_, BlockPos p_215664_3_)intgetTickDelay(IWorldReader p_205569_1_)protected booleanisEmpty()booleanisSource(FluidState p_207193_1_)-
Methods inherited from class net.minecraft.fluid.Fluid
animateTick, createAttributes, createFluidStateDefinition, defaultFluidState, getAttributes, getDripParticle, getStateDefinition, getTags, is, isRandomlyTicking, isSame, randomTick, registerDefaultState, tick
-
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraftforge.common.extensions.IForgeFluid
getExplosionResistance, getFluid, isAABBInsideLiquid, isAABBInsideMaterial, isEntityInside
-
-
-
-
Method Detail
-
canBeReplacedWith
public boolean canBeReplacedWith(FluidState p_215665_1_, IBlockReader p_215665_2_, BlockPos p_215665_3_, Fluid p_215665_4_, Direction p_215665_5_)
- Specified by:
canBeReplacedWithin classFluid
-
getFlow
public Vector3d getFlow(IBlockReader p_215663_1_, BlockPos p_215663_2_, FluidState p_215663_3_)
-
getTickDelay
public int getTickDelay(IWorldReader p_205569_1_)
- Specified by:
getTickDelayin classFluid
-
getExplosionResistance
protected float getExplosionResistance()
- Specified by:
getExplosionResistancein classFluid
-
getHeight
public float getHeight(FluidState p_215662_1_, IBlockReader p_215662_2_, BlockPos p_215662_3_)
-
getOwnHeight
public float getOwnHeight(FluidState p_223407_1_)
- Specified by:
getOwnHeightin classFluid
-
createLegacyBlock
protected BlockState createLegacyBlock(FluidState p_204527_1_)
- Specified by:
createLegacyBlockin classFluid
-
isSource
public boolean isSource(FluidState p_207193_1_)
-
getAmount
public int getAmount(FluidState p_207192_1_)
-
getShape
public VoxelShape getShape(FluidState p_215664_1_, IBlockReader p_215664_2_, BlockPos p_215664_3_)
-
-