类 WallBlock
java.lang.Object
net.minecraft.world.level.block.state.BlockBehaviour
net.minecraft.world.level.block.Block
net.minecraft.world.level.block.WallBlock
- 所有已实现的接口:
FeatureElement
,BucketPickup
,LiquidBlockContainer
,SimpleWaterloggedBlock
,ItemLike
,IForgeBlock
,IForgeBucketPickup
-
嵌套类概要
从类继承的嵌套类/接口 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
<WallBlock> private final Map
<BlockState, VoxelShape> private static final VoxelShape
static final EnumProperty
<WallSide> private static final VoxelShape
static final EnumProperty
<WallSide> private static final int
private static final VoxelShape
private static final int
private final Map
<BlockState, VoxelShape> private static final VoxelShape
static final EnumProperty
<WallSide> static final BooleanProperty
private static final int
private static final int
private static final int
private static final int
static final BooleanProperty
private static final VoxelShape
static final EnumProperty
<WallSide> 从类继承的字段 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_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
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private static VoxelShape
applyWallShape
(VoxelShape p_58034_, WallSide p_58035_, VoxelShape p_58036_, VoxelShape p_58037_) com.mojang.serialization.MapCodec
<WallBlock> codec()
private boolean
connectsTo
(BlockState p_58021_, boolean p_58022_, Direction p_58023_) protected void
protected VoxelShape
getCollisionShape
(BlockState p_58055_, BlockGetter p_58056_, BlockPos p_58057_, CollisionContext p_58058_) protected FluidState
getFluidState
(BlockState p_58060_) protected VoxelShape
getShape
(BlockState p_58050_, BlockGetter p_58051_, BlockPos p_58052_, CollisionContext p_58053_) getStateForPlacement
(BlockPlaceContext p_57973_) private static boolean
isConnected
(BlockState p_58011_, Property<WallSide> p_58012_) private static boolean
isCovered
(VoxelShape p_58039_, VoxelShape p_58040_) protected boolean
isPathfindable
(BlockState p_57996_, PathComputationType p_57999_) private Map
<BlockState, VoxelShape> makeShapes
(float p_57966_, float p_57967_, float p_57968_, float p_57969_, float p_57970_, float p_57971_) private WallSide
makeWallState
(boolean p_58042_, VoxelShape p_58043_, VoxelShape p_58044_) protected BlockState
mirror
(BlockState p_58001_, Mirror p_58002_) protected boolean
propagatesSkylightDown
(BlockState p_58046_) protected BlockState
rotate
(BlockState p_58004_, Rotation p_58005_) private boolean
shouldRaisePost
(BlockState p_58007_, BlockState p_58008_, VoxelShape p_58009_) private BlockState
sideUpdate
(LevelReader p_57989_, BlockPos p_57990_, BlockState p_57991_, BlockPos p_57992_, BlockState p_57993_, Direction p_57994_) private BlockState
topUpdate
(LevelReader p_57975_, BlockState p_57976_, BlockPos p_57977_, BlockState p_57978_) protected BlockState
updateShape
(BlockState p_58014_, LevelReader p_363038_, ScheduledTickAccess p_368345_, BlockPos p_58018_, Direction p_58015_, BlockPos p_58019_, BlockState p_58016_, RandomSource p_364621_) private BlockState
updateShape
(LevelReader p_57980_, BlockState p_57981_, BlockPos p_57982_, BlockState p_57983_, boolean p_57984_, boolean p_57985_, boolean p_57986_, boolean p_57987_) private BlockState
updateSides
(BlockState p_58025_, boolean p_58026_, boolean p_58027_, boolean p_58028_, boolean p_58029_, VoxelShape p_58030_) 从类继承的方法 net.minecraft.world.level.block.Block
animateTick, appendHoverText, asBlock, asItem, box, builtInRegistryHolder, byItem, canSupportCenter, canSupportRigidBlock, canSustainPlant, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, dropResources, fallOn, getDrops, getDrops, getExplosionResistance, getFriction, getId, getJumpFactor, getName, getRenderPropertiesInternal, getShapeForEachState, getSoundType, getSpeedFactor, getStateDefinition, handlePrecipitation, hasDynamicShape, initializeClient, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isShapeFullBlock, playerDestroy, playerWillDestroy, popExperience, popResource, popResourceFromFace, pushEntitiesUp, registerDefaultState, setPlacedBy, shouldRenderFace, shouldRenderFace, spawnDestroyParticles, stateById, stepOn, toString, tryDropExperience, updateEntityMovementAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExploded, withPropertiesOf
从类继承的方法 net.minecraft.world.level.block.state.BlockBehaviour
attack, canBeReplaced, canBeReplaced, canSurvive, defaultDestroyTime, defaultMapColor, entityInside, getAnalogOutputSignal, getBlockSupportShape, getCloneItemStack, 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, onRemove, properties, propertiesCodec, randomTick, requiredFeatures, simpleCodec, skipRendering, spawnAfterBreak, tick, 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.minecraftforge.common.extensions.IForgeBlock
addLandingEffects, addRunningEffects, canBeHydrated, canConnectRedstone, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, collisionExtendsVertically, getAdjacentBlockPathType, getAppearance, getBeaconColorMultiplier, getBedDirection, getBlockPathType, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFriction, getLightEmission, getMapColor, getPistonPushReaction, getRespawnPosition, getStateAtViewpoint, getToolModifiedState, getWeakChanges, hidesNeighborFace, isBed, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, isValidSpawn, makesOpenTrapdoorAboveClimbable, onBlockExploded, onBlockStateChange, onCaughtFire, onDestroyedByPlayer, onNeighborChange, onTreeGrow, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay, supportsExternalFaceHiding
从接口继承的方法 net.minecraftforge.common.extensions.IForgeBucketPickup
getPickupSound
从接口继承的方法 net.minecraft.world.level.block.SimpleWaterloggedBlock
canPlaceLiquid, getPickupSound, pickupBlock, placeLiquid
-
字段详细资料
-
CODEC
-
UP
-
EAST_WALL
-
NORTH_WALL
-
SOUTH_WALL
-
WEST_WALL
-
WATERLOGGED
-
shapeByIndex
-
collisionShapeByIndex
-
WALL_WIDTH
private static final int WALL_WIDTH- 另请参阅:
-
WALL_HEIGHT
private static final int WALL_HEIGHT- 另请参阅:
-
POST_WIDTH
private static final int POST_WIDTH- 另请参阅:
-
POST_COVER_WIDTH
private static final int POST_COVER_WIDTH- 另请参阅:
-
WALL_COVER_START
private static final int WALL_COVER_START- 另请参阅:
-
WALL_COVER_END
private static final int WALL_COVER_END- 另请参阅:
-
POST_TEST
-
NORTH_TEST
-
SOUTH_TEST
-
WEST_TEST
-
EAST_TEST
-
-
构造器详细资料
-
WallBlock
-
-
方法详细资料
-
codec
-
applyWallShape
private static VoxelShape applyWallShape(VoxelShape p_58034_, WallSide p_58035_, VoxelShape p_58036_, VoxelShape p_58037_) -
makeShapes
private Map<BlockState,VoxelShape> makeShapes(float p_57966_, float p_57967_, float p_57968_, float p_57969_, float p_57970_, float p_57971_) -
getShape
protected VoxelShape getShape(BlockState p_58050_, BlockGetter p_58051_, BlockPos p_58052_, CollisionContext p_58053_) - 覆盖:
getShape
在类中BlockBehaviour
-
getCollisionShape
protected VoxelShape getCollisionShape(BlockState p_58055_, BlockGetter p_58056_, BlockPos p_58057_, CollisionContext p_58058_) - 覆盖:
getCollisionShape
在类中BlockBehaviour
-
isPathfindable
- 覆盖:
isPathfindable
在类中BlockBehaviour
-
connectsTo
-
getStateForPlacement
- 覆盖:
getStateForPlacement
在类中Block
-
updateShape
protected BlockState updateShape(BlockState p_58014_, LevelReader p_363038_, ScheduledTickAccess p_368345_, BlockPos p_58018_, Direction p_58015_, BlockPos p_58019_, BlockState p_58016_, RandomSource p_364621_) - 覆盖:
updateShape
在类中BlockBehaviour
-
isConnected
-
isCovered
-
topUpdate
private BlockState topUpdate(LevelReader p_57975_, BlockState p_57976_, BlockPos p_57977_, BlockState p_57978_) -
sideUpdate
private BlockState sideUpdate(LevelReader p_57989_, BlockPos p_57990_, BlockState p_57991_, BlockPos p_57992_, BlockState p_57993_, Direction p_57994_) -
updateShape
private BlockState updateShape(LevelReader p_57980_, BlockState p_57981_, BlockPos p_57982_, BlockState p_57983_, boolean p_57984_, boolean p_57985_, boolean p_57986_, boolean p_57987_) -
shouldRaisePost
-
updateSides
private BlockState updateSides(BlockState p_58025_, boolean p_58026_, boolean p_58027_, boolean p_58028_, boolean p_58029_, VoxelShape p_58030_) -
makeWallState
-
getFluidState
- 覆盖:
getFluidState
在类中BlockBehaviour
-
propagatesSkylightDown
- 覆盖:
propagatesSkylightDown
在类中BlockBehaviour
-
createBlockStateDefinition
- 覆盖:
createBlockStateDefinition
在类中Block
-
rotate
- 覆盖:
rotate
在类中BlockBehaviour
-
mirror
- 覆盖:
mirror
在类中BlockBehaviour
-