类 LavaFluid
java.lang.Object
net.minecraft.world.level.material.Fluid
net.minecraft.world.level.material.FlowingFluid
net.minecraft.world.level.material.LavaFluid
- 所有已实现的接口:
IForgeFluid
- 直接已知子类:
LavaFluid.Flowing
,LavaFluid.Source
-
嵌套类概要
嵌套类 -
字段概要
字段从类继承的字段 net.minecraft.world.level.material.FlowingFluid
FALLING, LEVEL
从类继承的字段 net.minecraft.world.level.material.Fluid
FLUID_STATE_REGISTRY, stateDefinition
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
animateTick
(Level pLevel, BlockPos pPos, FluidState pState, RandomSource pRandom) protected void
beforeDestroyingBlock
(LevelAccessor pLevel, BlockPos pPos, BlockState pState) boolean
canBeReplacedWith
(FluidState pFluidState, BlockGetter pBlockReader, BlockPos pPos, Fluid pFluid, Direction pDirection) protected boolean
canConvertToSource
(Level pLevel) createLegacyBlock
(FluidState pState) private void
fizz
(LevelAccessor pLevel, BlockPos pPos) int
getDropOff
(LevelReader pLevel) protected float
int
getSlopeFindDistance
(LevelReader pLevel) int
getSpreadDelay
(Level pLevel, BlockPos pPos, FluidState p_76205_, FluidState p_76206_) int
getTickDelay
(LevelReader pLevel) private boolean
hasFlammableNeighbours
(LevelReader pLevel, BlockPos pPos) private boolean
isFlammable
(LevelReader pLevel, BlockPos pPos) 已过时。private boolean
isFlammable
(LevelReader level, BlockPos pos, Direction face) protected boolean
boolean
void
randomTick
(Level pLevel, BlockPos pPos, FluidState pState, RandomSource pRandom) protected void
spreadTo
(LevelAccessor pLevel, BlockPos pPos, BlockState pBlockState, Direction pDirection, FluidState pFluidState) 从类继承的方法 net.minecraft.world.level.material.FlowingFluid
canConvertToSource, canSpreadTo, createFluidStateDefinition, getAmount, getFlow, getFlowing, getHeight, getLegacyLevel, getNewLiquid, getOwnHeight, getShape, getSlopeDistance, getSource, getSpread, isSolidFace, spread, tick
从类继承的方法 net.minecraft.world.level.material.Fluid
builtInRegistryHolder, defaultFluidState, getFluidType, getStateDefinition, is, isEmpty, isSource, registerDefaultState
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraftforge.common.extensions.IForgeFluid
canExtinguish, canHydrate, getAdjacentBlockPathType, getBlockPathType, getExplosionResistance, move, supportsBoating
-
字段详细资料
-
MIN_LEVEL_CUTOFF
public static final float MIN_LEVEL_CUTOFF- 另请参阅:
-
-
构造器详细资料
-
LavaFluid
public LavaFluid()
-
-
方法详细资料
-
getFlowing
- 指定者:
getFlowing
在类中FlowingFluid
-
getSource
- 指定者:
getSource
在类中FlowingFluid
-
getBucket
-
animateTick
- 覆盖:
animateTick
在类中Fluid
-
randomTick
- 覆盖:
randomTick
在类中Fluid
-
hasFlammableNeighbours
-
isFlammable
已过时。Forge: useisFlammable(LevelReader,BlockPos,Direction)
instead -
isFlammable
-
getDripParticle
- 覆盖:
getDripParticle
在类中Fluid
-
beforeDestroyingBlock
- 指定者:
beforeDestroyingBlock
在类中FlowingFluid
-
getSlopeFindDistance
- 指定者:
getSlopeFindDistance
在类中FlowingFluid
-
createLegacyBlock
- 指定者:
createLegacyBlock
在类中Fluid
-
isSame
-
getDropOff
- 指定者:
getDropOff
在类中FlowingFluid
-
canBeReplacedWith
public boolean canBeReplacedWith(FluidState pFluidState, BlockGetter pBlockReader, BlockPos pPos, Fluid pFluid, Direction pDirection) - 指定者:
canBeReplacedWith
在类中Fluid
-
getTickDelay
- 指定者:
getTickDelay
在类中Fluid
-
getSpreadDelay
- 覆盖:
getSpreadDelay
在类中FlowingFluid
-
fizz
-
canConvertToSource
- 指定者:
canConvertToSource
在类中FlowingFluid
-
spreadTo
protected void spreadTo(LevelAccessor pLevel, BlockPos pPos, BlockState pBlockState, Direction pDirection, FluidState pFluidState) - 覆盖:
spreadTo
在类中FlowingFluid
-
isRandomlyTicking
protected boolean isRandomlyTicking()- 覆盖:
isRandomlyTicking
在类中Fluid
-
getExplosionResistance
protected float getExplosionResistance()- 指定者:
getExplosionResistance
在类中Fluid
-
getPickupSound
- 覆盖:
getPickupSound
在类中Fluid
-
isFlammable(LevelReader,BlockPos,Direction)
instead