Class EmptyFluid
java.lang.Object
net.minecraft.world.level.material.Fluid
net.minecraft.world.level.material.EmptyFluid
- All Implemented Interfaces:
IFluidExtension
-
Field Summary
Fields inherited from class net.minecraft.world.level.material.Fluid
FLUID_STATE_REGISTRY, stateDefinition -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanBeReplacedWith(FluidState p_75930_, BlockGetter p_75931_, BlockPos p_75932_, Fluid p_75933_, Direction p_75934_) protected BlockStatecreateLegacyBlock(FluidState p_75937_) intgetAmount(FluidState p_75946_) protected floatgetFlow(BlockGetter p_75918_, BlockPos p_75919_, FluidState p_75920_) floatgetHeight(FluidState p_75926_, BlockGetter p_75927_, BlockPos p_75928_) floatgetOwnHeight(FluidState p_75924_) getShape(FluidState p_75939_, BlockGetter p_75940_, BlockPos p_75941_) intgetTickDelay(LevelReader p_75922_) protected booleanisEmpty()booleanisSource(FluidState p_75944_) Methods inherited from class net.minecraft.world.level.material.Fluid
animateTick, builtInRegistryHolder, createFluidStateDefinition, defaultFluidState, getDripParticle, getFluidType, getPickupSound, getStateDefinition, is, isRandomlyTicking, isSame, randomTick, registerDefaultState, tickMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.neoforged.neoforge.common.extensions.IFluidExtension
canConvertToSource, canExtinguish, canHydrate, getAdjacentBlockPathType, getBlockPathType, getExplosionResistance, move, supportsBoating
-
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:
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
-