类 WaterFluid
java.lang.Object
net.minecraft.world.level.material.Fluid
net.minecraft.world.level.material.FlowingFluid
net.minecraft.world.level.material.WaterFluid
- 所有已实现的接口:
IFluidExtension
- 直接已知子类:
WaterFluid.Flowing
,WaterFluid.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_230606_, BlockPos p_230607_, FluidState p_230608_, RandomSource p_230609_) protected void
beforeDestroyingBlock
(LevelAccessor p_76450_, BlockPos p_76451_, BlockState p_76452_) boolean
canBeReplacedWith
(FluidState p_76458_, BlockGetter p_76459_, BlockPos p_76460_, Fluid p_76461_, Direction p_76462_) protected boolean
canConvertToSource
(ServerLevel p_376722_) createLegacyBlock
(FluidState p_76466_) protected void
entityInside
(Level p_404956_, BlockPos p_405311_, Entity p_405780_, InsideBlockEffectApplier p_405240_) int
getDropOff
(LevelReader p_76469_) protected float
int
getSlopeFindDistance
(LevelReader p_76464_) int
getTickDelay
(LevelReader p_76454_) boolean
从类继承的方法 net.minecraft.world.level.material.FlowingFluid
canConvertToSource, createFluidStateDefinition, getAmount, getFlow, getFlowing, getHeight, getLegacyLevel, getNewLiquid, getOwnHeight, getShape, getSlopeDistance, getSource, getSpread, getSpreadDelay, isSolidFace, isWaterHole, spread, spreadTo, tick
从类继承的方法 net.minecraft.world.level.material.Fluid
builtInRegistryHolder, defaultFluidState, getAABB, getFluidType, getStateDefinition, is, isEmpty, isRandomlyTicking, isSource, randomTick, 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
-
构造器详细资料
-
WaterFluid
public WaterFluid()
-
-
方法详细资料
-
getFlowing
- 指定者:
getFlowing
在类中FlowingFluid
-
getSource
- 指定者:
getSource
在类中FlowingFluid
-
getBucket
-
animateTick
public void animateTick(Level p_230606_, BlockPos p_230607_, FluidState p_230608_, RandomSource p_230609_) - 覆盖:
animateTick
在类中Fluid
-
getDripParticle
- 覆盖:
getDripParticle
在类中Fluid
-
canConvertToSource
- 指定者:
canConvertToSource
在类中FlowingFluid
-
beforeDestroyingBlock
protected void beforeDestroyingBlock(LevelAccessor p_76450_, BlockPos p_76451_, BlockState p_76452_) - 指定者:
beforeDestroyingBlock
在类中FlowingFluid
-
entityInside
protected void entityInside(Level p_404956_, BlockPos p_405311_, Entity p_405780_, InsideBlockEffectApplier p_405240_) - 覆盖:
entityInside
在类中Fluid
-
getSlopeFindDistance
- 指定者:
getSlopeFindDistance
在类中FlowingFluid
-
createLegacyBlock
- 指定者:
createLegacyBlock
在类中Fluid
-
isSame
-
getDropOff
- 指定者:
getDropOff
在类中FlowingFluid
-
getTickDelay
- 指定者:
getTickDelay
在类中Fluid
-
canBeReplacedWith
public boolean canBeReplacedWith(FluidState p_76458_, BlockGetter p_76459_, BlockPos p_76460_, Fluid p_76461_, Direction p_76462_) - 指定者:
canBeReplacedWith
在类中Fluid
-
getExplosionResistance
protected float getExplosionResistance()- 指定者:
getExplosionResistance
在类中Fluid
-
getPickupSound
- 覆盖:
getPickupSound
在类中Fluid
-