类 WaterFluid
java.lang.Object
net.minecraft.world.level.material.Fluid
net.minecraft.world.level.material.FlowingFluid
net.minecraft.world.level.material.WaterFluid
- 所有已实现的接口:
IForgeFluid
- 直接已知子类:
WaterFluid.Flowing
,WaterFluid.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) int
getDropOff
(LevelReader pLevel) protected float
int
getSlopeFindDistance
(LevelReader pLevel) int
getTickDelay
(LevelReader pLevel) boolean
从类继承的方法 net.minecraft.world.level.material.FlowingFluid
canConvertToSource, canSpreadTo, createFluidStateDefinition, getAmount, getFlow, getFlowing, getHeight, getLegacyLevel, getNewLiquid, getOwnHeight, getShape, getSlopeDistance, getSource, getSpread, getSpreadDelay, isSolidFace, spread, spreadTo, tick
从类继承的方法 net.minecraft.world.level.material.Fluid
builtInRegistryHolder, defaultFluidState, getFluidType, getStateDefinition, is, isEmpty, isRandomlyTicking, isSource, randomTick, 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
-
构造器详细资料
-
WaterFluid
public WaterFluid()
-
-
方法详细资料
-
getFlowing
- 指定者:
getFlowing
在类中FlowingFluid
-
getSource
- 指定者:
getSource
在类中FlowingFluid
-
getBucket
-
animateTick
- 覆盖:
animateTick
在类中Fluid
-
getDripParticle
- 覆盖:
getDripParticle
在类中Fluid
-
canConvertToSource
- 指定者:
canConvertToSource
在类中FlowingFluid
-
beforeDestroyingBlock
- 指定者:
beforeDestroyingBlock
在类中FlowingFluid
-
getSlopeFindDistance
- 指定者:
getSlopeFindDistance
在类中FlowingFluid
-
createLegacyBlock
- 指定者:
createLegacyBlock
在类中Fluid
-
isSame
-
getDropOff
- 指定者:
getDropOff
在类中FlowingFluid
-
getTickDelay
- 指定者:
getTickDelay
在类中Fluid
-
canBeReplacedWith
public boolean canBeReplacedWith(FluidState pFluidState, BlockGetter pBlockReader, BlockPos pPos, Fluid pFluid, Direction pDirection) - 指定者:
canBeReplacedWith
在类中Fluid
-
getExplosionResistance
protected float getExplosionResistance()- 指定者:
getExplosionResistance
在类中Fluid
-
getPickupSound
- 覆盖:
getPickupSound
在类中Fluid
-