类 EmptyFluid
java.lang.Object
net.minecraft.world.level.material.Fluid
net.minecraft.world.level.material.EmptyFluid
- 所有已实现的接口:
IFluidExtension
-
字段概要
从类继承的字段 net.minecraft.world.level.material.Fluid
FLUID_STATE_REGISTRY, stateDefinition
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
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_) 从类继承的方法 net.minecraft.world.level.material.Fluid
animateTick, builtInRegistryHolder, createFluidStateDefinition, defaultFluidState, entityInside, getAABB, getDripParticle, getFluidType, getPickupSound, getStateDefinition, is, isRandomlyTicking, isSame, randomTick, registerDefaultState, tick, toString
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
从接口继承的方法 net.neoforged.neoforge.common.extensions.IFluidExtension
canConvertToSource, canExtinguish, canHydrate, getAdjacentBlockPathType, getBlockPathType, getExplosionResistance, move, supportsBoating
-
构造器详细资料
-
EmptyFluid
public EmptyFluid()
-
-
方法详细资料
-
getBucket
-
canBeReplacedWith
public boolean canBeReplacedWith(FluidState p_75930_, BlockGetter p_75931_, BlockPos p_75932_, Fluid p_75933_, Direction p_75934_) - 指定者:
canBeReplacedWith
在类中Fluid
-
getFlow
-
getTickDelay
- 指定者:
getTickDelay
在类中Fluid
-
isEmpty
protected boolean isEmpty() -
getExplosionResistance
protected float getExplosionResistance()- 指定者:
getExplosionResistance
在类中Fluid
-
getHeight
-
getOwnHeight
- 指定者:
getOwnHeight
在类中Fluid
-
createLegacyBlock
- 指定者:
createLegacyBlock
在类中Fluid
-
isSource
-
getAmount
-
getShape
-