类 DriedGhastBlock
java.lang.Object
net.minecraft.world.level.block.state.BlockBehaviour
net.minecraft.world.level.block.Block
net.minecraft.world.level.block.HorizontalDirectionalBlock
net.minecraft.world.level.block.DriedGhastBlock
- 所有已实现的接口:
FeatureElement
,BucketPickup
,LiquidBlockContainer
,SimpleWaterloggedBlock
,ItemLike
,IBlockExtension
,IBucketPickupExtension
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.level.block.Block
Block.ShapePairKey
从类继承的嵌套类/接口 net.minecraft.world.level.block.state.BlockBehaviour
BlockBehaviour.BlockStateBase, BlockBehaviour.OffsetFunction, BlockBehaviour.OffsetType, BlockBehaviour.Properties, BlockBehaviour.StateArgumentPredicate<A>, BlockBehaviour.StatePredicate
-
字段概要
字段修饰符和类型字段说明static final com.mojang.serialization.MapCodec
<DriedGhastBlock> static final IntegerProperty
static final int
static final int
private static final VoxelShape
static final BooleanProperty
从类继承的字段 net.minecraft.world.level.block.HorizontalDirectionalBlock
FACING
从类继承的字段 net.minecraft.world.level.block.Block
BLOCK_STATE_REGISTRY, INDESTRUCTIBLE, INSTANT, stateDefinition, UPDATE_ALL, UPDATE_ALL_IMMEDIATE, UPDATE_CLIENTS, UPDATE_IMMEDIATE, UPDATE_INVISIBLE, UPDATE_KNOWN_SHAPE, UPDATE_LIMIT, UPDATE_MOVE_BY_PISTON, UPDATE_NEIGHBORS, UPDATE_NONE, UPDATE_SKIP_ALL_SIDEEFFECTS, UPDATE_SKIP_BLOCK_ENTITY_SIDEEFFECTS, UPDATE_SKIP_ON_PLACE, UPDATE_SKIP_SHAPE_UPDATE_ON_WIRE, UPDATE_SUPPRESS_DROPS
从类继承的字段 net.minecraft.world.level.block.state.BlockBehaviour
descriptionId, drops, dynamicShape, explosionResistance, friction, hasCollision, isRandomlyTicking, jumpFactor, properties, requiredFeatures, soundType, speedFactor, UPDATE_SHAPE_ORDER
从接口继承的字段 net.minecraft.world.flag.FeatureElement
FILTERED_REGISTRIES
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
animateTick
(BlockState p_416682_, Level p_416357_, BlockPos p_415792_, RandomSource p_416494_) com.mojang.serialization.MapCodec
<DriedGhastBlock> codec()
protected void
protected FluidState
getFluidState
(BlockState p_416060_) int
getHydrationLevel
(BlockState p_415767_) getShape
(BlockState p_416548_, BlockGetter p_416476_, BlockPos p_416401_, CollisionContext p_415860_) getStateForPlacement
(BlockPlaceContext p_416452_) boolean
isPathfindable
(BlockState p_416514_, PathComputationType p_415674_) private boolean
isReadyToSpawn
(BlockState p_415762_) boolean
placeLiquid
(LevelAccessor p_416379_, BlockPos p_415922_, BlockState p_416350_, FluidState p_415551_) protected void
randomTick
(BlockState p_416248_, ServerLevel p_416607_, BlockPos p_415639_, RandomSource p_415633_) void
setPlacedBy
(Level p_418520_, BlockPos p_418137_, BlockState p_418409_, LivingEntity p_418198_, ItemStack p_418118_) private void
spawnGhastling
(ServerLevel p_415960_, BlockPos p_416328_, BlockState p_416016_) protected void
tick
(BlockState p_416215_, ServerLevel p_416576_, BlockPos p_415822_, RandomSource p_415656_) private void
tickWaterlogged
(BlockState p_416629_, ServerLevel p_416363_, BlockPos p_415623_, RandomSource p_415835_) protected BlockState
updateShape
(BlockState p_416335_, LevelReader p_415693_, ScheduledTickAccess p_416196_, BlockPos p_415889_, Direction p_415854_, BlockPos p_415679_, BlockState p_415825_, RandomSource p_415629_) 从类继承的方法 net.minecraft.world.level.block.HorizontalDirectionalBlock
mirror, rotate
从类继承的方法 net.minecraft.world.level.block.Block
asBlock, asItem, box, boxes, boxZ, boxZ, boxZ, builtInRegistryHolder, byItem, canSupportCenter, canSupportRigidBlock, column, column, cube, cube, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, fallOn, getDrops, getDrops, getExplosionResistance, getFriction, getId, getJumpFactor, getName, getShapeForEachState, getShapeForEachState, getSpeedFactor, getStateDefinition, handlePrecipitation, hasDynamicShape, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isShapeFullBlock, playerDestroy, playerWillDestroy, popExperience, popResource, popResourceFromFace, pushEntitiesUp, registerDefaultState, shouldRenderFace, shouldRenderFace, spawnDestroyParticles, stateById, stepOn, toString, tryDropExperience, updateEntityMovementAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExploded, withPropertiesOf
从类继承的方法 net.minecraft.world.level.block.state.BlockBehaviour
affectNeighborsAfterRemoval, attack, canBeReplaced, canBeReplaced, canSurvive, defaultDestroyTime, defaultMapColor, entityInside, getAnalogOutputSignal, getBlockSupportShape, getCloneItemStack, getCollisionShape, getDescriptionId, getDestroyProgress, getDirectSignal, getDrops, getEntityInsideCollisionShape, getInteractionShape, getLightBlock, getLootTable, getMaxHorizontalOffset, getMaxVerticalOffset, getMenuProvider, getOcclusionShape, getRenderShape, getSeed, getShadeBrightness, getSignal, getSoundType, getVisualShape, hasAnalogOutputSignal, isAir, isCollisionShapeFullBlock, isRandomlyTicking, isSignalSource, neighborChanged, onExplosionHit, onPlace, onProjectileHit, propagatesSkylightDown, properties, propertiesCodec, requiredFeatures, simpleCodec, skipRendering, spawnAfterBreak, triggerEvent, updateIndirectNeighbourShapes, useItemOn, useShapeForLightOcclusion, useWithoutItem
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
从接口继承的方法 net.minecraft.world.flag.FeatureElement
isEnabled
从接口继承的方法 net.neoforged.neoforge.common.extensions.IBlockExtension
addLandingEffects, addRunningEffects, canBeHydrated, canConnectRedstone, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, canSustainPlant, collisionExtendsVertically, getAdjacentBlockPathType, getAppearance, getBeaconColorMultiplier, getBedDirection, getBlockPathType, getBubbleColumnDirection, getCloneItemStack, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFriction, getLightEmission, getMapColor, getPistonPushReaction, getRespawnPosition, getSoundType, getStateAtViewpoint, getToolModifiedState, getWeakChanges, hasDynamicLightEmission, hidesNeighborFace, isBed, isBurning, isConduitFrame, isEmpty, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, makesOpenTrapdoorAboveClimbable, onBlockExploded, onBlockStateChange, onCaughtFire, onDestroyedByPlayer, onDestroyedByPushReaction, onNeighborChange, onTreeGrow, playFallSound, playStepSound, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay, shouldHideAdjacentFluidFace, supportsExternalFaceHiding
从接口继承的方法 net.neoforged.neoforge.common.extensions.IBucketPickupExtension
getPickupSound
从接口继承的方法 net.minecraft.world.level.block.SimpleWaterloggedBlock
canPlaceLiquid, getPickupSound, pickupBlock
-
字段详细资料
-
CODEC
-
MAX_HYDRATION_LEVEL
public static final int MAX_HYDRATION_LEVEL- 另请参阅:
-
HYDRATION_LEVEL
-
WATERLOGGED
-
HYDRATION_TICK_DELAY
public static final int HYDRATION_TICK_DELAY- 另请参阅:
-
SHAPE
-
-
构造器详细资料
-
DriedGhastBlock
-
-
方法详细资料
-
codec
- 指定者:
codec
在类中HorizontalDirectionalBlock
-
createBlockStateDefinition
- 覆盖:
createBlockStateDefinition
在类中Block
-
updateShape
protected BlockState updateShape(BlockState p_416335_, LevelReader p_415693_, ScheduledTickAccess p_416196_, BlockPos p_415889_, Direction p_415854_, BlockPos p_415679_, BlockState p_415825_, RandomSource p_415629_) - 覆盖:
updateShape
在类中BlockBehaviour
-
getShape
public VoxelShape getShape(BlockState p_416548_, BlockGetter p_416476_, BlockPos p_416401_, CollisionContext p_415860_) - 覆盖:
getShape
在类中BlockBehaviour
-
getHydrationLevel
-
isReadyToSpawn
-
tick
protected void tick(BlockState p_416215_, ServerLevel p_416576_, BlockPos p_415822_, RandomSource p_415656_) - 覆盖:
tick
在类中BlockBehaviour
-
tickWaterlogged
private void tickWaterlogged(BlockState p_416629_, ServerLevel p_416363_, BlockPos p_415623_, RandomSource p_415835_) -
spawnGhastling
-
animateTick
public void animateTick(BlockState p_416682_, Level p_416357_, BlockPos p_415792_, RandomSource p_416494_) - 覆盖:
animateTick
在类中Block
-
randomTick
protected void randomTick(BlockState p_416248_, ServerLevel p_416607_, BlockPos p_415639_, RandomSource p_415633_) - 覆盖:
randomTick
在类中BlockBehaviour
-
getStateForPlacement
- 覆盖:
getStateForPlacement
在类中Block
-
getFluidState
- 覆盖:
getFluidState
在类中BlockBehaviour
-
placeLiquid
public boolean placeLiquid(LevelAccessor p_416379_, BlockPos p_415922_, BlockState p_416350_, FluidState p_415551_) - 指定者:
placeLiquid
在接口中LiquidBlockContainer
- 指定者:
placeLiquid
在接口中SimpleWaterloggedBlock
-
setPlacedBy
public void setPlacedBy(Level p_418520_, BlockPos p_418137_, BlockState p_418409_, @Nullable LivingEntity p_418198_, ItemStack p_418118_) - 覆盖:
setPlacedBy
在类中Block
-
isPathfindable
- 覆盖:
isPathfindable
在类中BlockBehaviour
-