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