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, stateDefinition
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canBeReplacedWith
(FluidState p_215665_1_, IBlockReader p_215665_2_, BlockPos p_215665_3_, Fluid p_215665_4_, Direction p_215665_5_) protected BlockState
createLegacyBlock
(FluidState p_204527_1_) int
getAmount
(FluidState p_207192_1_) protected float
getFlow
(IBlockReader p_215663_1_, BlockPos p_215663_2_, FluidState p_215663_3_) float
getHeight
(FluidState p_215662_1_, IBlockReader p_215662_2_, BlockPos p_215662_3_) float
getOwnHeight
(FluidState p_223407_1_) getShape
(FluidState p_215664_1_, IBlockReader p_215664_2_, BlockPos p_215664_3_) int
getTickDelay
(IWorldReader p_205569_1_) protected boolean
isEmpty()
boolean
isSource
(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
-
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:
canBeReplacedWith
in classFluid
-
getFlow
-
getTickDelay
- Specified by:
getTickDelay
in classFluid
-
isEmpty
protected boolean isEmpty() -
getExplosionResistance
protected float getExplosionResistance()- Specified by:
getExplosionResistance
in classFluid
-
getHeight
-
getOwnHeight
- Specified by:
getOwnHeight
in classFluid
-
createLegacyBlock
- Specified by:
createLegacyBlock
in classFluid
-
isSource
-
getAmount
-
getShape
-