Class EmptyFluid
java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<Fluid>
net.minecraft.world.level.material.Fluid
net.minecraft.world.level.material.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.world.level.material.Fluid
FLUID_STATE_REGISTRY, stateDefinition
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canBeReplacedWith(FluidState p_75930_, BlockGetter p_75931_, BlockPos p_75932_, Fluid p_75933_, Direction p_75934_)
protected BlockState
createLegacyBlock(FluidState p_75937_)
int
getAmount(FluidState p_75946_)
protected float
getFlow(BlockGetter p_75918_, BlockPos p_75919_, FluidState p_75920_)
float
getHeight(FluidState p_75926_, BlockGetter p_75927_, BlockPos p_75928_)
float
getOwnHeight(FluidState p_75924_)
getShape(FluidState p_75939_, BlockGetter p_75940_, BlockPos p_75941_)
int
getTickDelay(LevelReader p_75922_)
protected boolean
isEmpty()
boolean
isSource(FluidState p_75944_)
Methods inherited from class net.minecraft.world.level.material.Fluid
animateTick, createAttributes, createFluidStateDefinition, defaultFluidState, getAttributes, getDripParticle, getPickupSound, 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, isAABBInsideLiquid, isAABBInsideMaterial, isEntityInside
-
Constructor Details
-
EmptyFluid
public EmptyFluid()
-
-
Method Details
-
getBucket
-
canBeReplacedWith
public boolean canBeReplacedWith(FluidState p_75930_, BlockGetter p_75931_, BlockPos p_75932_, Fluid p_75933_, Direction p_75934_)- 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
-