类 LavaFluid
java.lang.Object
net.minecraft.world.level.material.Fluid
net.minecraft.world.level.material.FlowingFluid
net.minecraft.world.level.material.LavaFluid
- 所有已实现的接口:
IFluidExtension
- 直接已知子类:
LavaFluid.Flowing
,LavaFluid.Source
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 net.minecraft.world.level.material.FlowingFluid
FlowingFluid.BlockStatePairKey, FlowingFluid.SpreadContext
-
字段概要
字段从类继承的字段 net.minecraft.world.level.material.FlowingFluid
FALLING, LEVEL
从类继承的字段 net.minecraft.world.level.material.Fluid
FLUID_STATE_REGISTRY, stateDefinition
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
animateTick
(Level p_230567_, BlockPos p_230568_, FluidState p_230569_, RandomSource p_230570_) protected void
beforeDestroyingBlock
(LevelAccessor p_76216_, BlockPos p_76217_, BlockState p_76218_) boolean
canBeReplacedWith
(FluidState p_76233_, BlockGetter p_76234_, BlockPos p_76235_, Fluid p_76236_, Direction p_76237_) protected boolean
canConvertToSource
(ServerLevel p_376200_) createLegacyBlock
(FluidState p_76249_) protected void
entityInside
(Level p_405274_, BlockPos p_404936_, Entity p_405835_, InsideBlockEffectApplier p_404807_) private void
fizz
(LevelAccessor p_76213_, BlockPos p_76214_) int
getDropOff
(LevelReader p_76252_) protected float
int
getSlopeFindDistance
(LevelReader p_76244_) int
getSpreadDelay
(Level p_76203_, BlockPos p_76204_, FluidState p_76205_, FluidState p_76206_) int
getTickDelay
(LevelReader p_76226_) private boolean
hasFlammableNeighbours
(LevelReader p_76228_, BlockPos p_76229_) private boolean
isFlammable
(LevelReader p_76246_, BlockPos p_76247_) 已过时。private boolean
isFlammable
(LevelReader level, BlockPos pos, Direction face) protected boolean
boolean
void
randomTick
(ServerLevel p_376493_, BlockPos p_230573_, FluidState p_230574_, RandomSource p_230575_) protected void
spreadTo
(LevelAccessor p_76220_, BlockPos p_76221_, BlockState p_76222_, Direction p_76223_, FluidState p_76224_) 从类继承的方法 net.minecraft.world.level.material.FlowingFluid
canConvertToSource, createFluidStateDefinition, getAmount, getFlow, getFlowing, getHeight, getLegacyLevel, getNewLiquid, getOwnHeight, getShape, getSlopeDistance, getSource, getSpread, isSolidFace, isWaterHole, spread, tick
从类继承的方法 net.minecraft.world.level.material.Fluid
builtInRegistryHolder, defaultFluidState, getAABB, getFluidType, getStateDefinition, is, isEmpty, isSource, registerDefaultState, toString
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
从接口继承的方法 net.neoforged.neoforge.common.extensions.IFluidExtension
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
public void animateTick(Level p_230567_, BlockPos p_230568_, FluidState p_230569_, RandomSource p_230570_) - 覆盖:
animateTick
在类中Fluid
-
randomTick
public void randomTick(ServerLevel p_376493_, BlockPos p_230573_, FluidState p_230574_, RandomSource p_230575_) - 覆盖:
randomTick
在类中Fluid
-
entityInside
protected void entityInside(Level p_405274_, BlockPos p_404936_, Entity p_405835_, InsideBlockEffectApplier p_404807_) - 覆盖:
entityInside
在类中Fluid
-
hasFlammableNeighbours
-
isFlammable
已过时。Forge: useisFlammable(LevelReader,BlockPos,Direction)
instead -
isFlammable
-
getDripParticle
- 覆盖:
getDripParticle
在类中Fluid
-
beforeDestroyingBlock
protected void beforeDestroyingBlock(LevelAccessor p_76216_, BlockPos p_76217_, BlockState p_76218_) - 指定者:
beforeDestroyingBlock
在类中FlowingFluid
-
getSlopeFindDistance
- 指定者:
getSlopeFindDistance
在类中FlowingFluid
-
createLegacyBlock
- 指定者:
createLegacyBlock
在类中Fluid
-
isSame
-
getDropOff
- 指定者:
getDropOff
在类中FlowingFluid
-
canBeReplacedWith
public boolean canBeReplacedWith(FluidState p_76233_, BlockGetter p_76234_, BlockPos p_76235_, Fluid p_76236_, Direction p_76237_) - 指定者:
canBeReplacedWith
在类中Fluid
-
getTickDelay
- 指定者:
getTickDelay
在类中Fluid
-
getSpreadDelay
public int getSpreadDelay(Level p_76203_, BlockPos p_76204_, FluidState p_76205_, FluidState p_76206_) - 覆盖:
getSpreadDelay
在类中FlowingFluid
-
fizz
-
canConvertToSource
- 指定者:
canConvertToSource
在类中FlowingFluid
-
spreadTo
protected void spreadTo(LevelAccessor p_76220_, BlockPos p_76221_, BlockState p_76222_, Direction p_76223_, FluidState p_76224_) - 覆盖:
spreadTo
在类中FlowingFluid
-
isRandomlyTicking
protected boolean isRandomlyTicking()- 覆盖:
isRandomlyTicking
在类中Fluid
-
getExplosionResistance
protected float getExplosionResistance()- 指定者:
getExplosionResistance
在类中Fluid
-
getPickupSound
- 覆盖:
getPickupSound
在类中Fluid
-
isFlammable(LevelReader,BlockPos,Direction)
instead