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>
-
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, stateDefinitionFields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanBeReplacedWith(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_) protected floatgetFlow(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_) getShape(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, tickMethods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraftforge.common.extensions.IForgeFluid
getExplosionResistance, getFluid, isAABBInsideLiquid, isAABBInsideMaterial, isEntityInside
-
Constructor Details
-
EmptyFluid
public EmptyFluid()
-
-
Method Details
-
getBucket
-
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
-
getTickDelay
- Specified by:
getTickDelayin classFluid
-
isEmpty
protected boolean isEmpty() -
getExplosionResistance
protected float getExplosionResistance()- Specified by:
getExplosionResistancein classFluid
-
getHeight
-
getOwnHeight
- Specified by:
getOwnHeightin classFluid
-
createLegacyBlock
- Specified by:
createLegacyBlockin classFluid
-
isSource
-
getAmount
-
getShape
-