Package net.minecraft.world.level.block
Class WallBlock
java.lang.Object
net.minecraft.world.level.block.state.BlockBehaviour
net.minecraft.world.level.block.Block
net.minecraft.world.level.block.WallBlock
- All Implemented Interfaces:
- FeatureElement,- BucketPickup,- LiquidBlockContainer,- SimpleWaterloggedBlock,- ItemLike,- IForgeBlock,- IForgeBucketPickup
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.world.level.block.BlockBlock.BlockStatePairKeyNested classes/interfaces inherited from class net.minecraft.world.level.block.state.BlockBehaviourBlockBehaviour.BlockStateBase, BlockBehaviour.OffsetFunction, BlockBehaviour.OffsetType, BlockBehaviour.Properties, BlockBehaviour.StateArgumentPredicate<A>, BlockBehaviour.StatePredicate
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final Map<BlockState,VoxelShape> private static final VoxelShapestatic final EnumProperty<WallSide>private static final VoxelShapestatic final EnumProperty<WallSide>private static final intprivate static final VoxelShapeprivate static final intprivate final Map<BlockState,VoxelShape> private static final VoxelShapestatic final EnumProperty<WallSide>static final BooleanPropertyprivate static final intprivate static final intprivate static final intprivate static final intstatic final BooleanPropertyprivate static final VoxelShapestatic final EnumProperty<WallSide>Fields inherited from class net.minecraft.world.level.block.BlockBLOCK_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_SUPPRESS_DROPSFields inherited from class net.minecraft.world.level.block.state.BlockBehaviourdrops, dynamicShape, explosionResistance, friction, hasCollision, isRandomlyTicking, jumpFactor, properties, requiredFeatures, soundType, speedFactor, UPDATE_SHAPE_ORDERFields inherited from interface net.minecraft.world.flag.FeatureElementFILTERED_REGISTRIES
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static VoxelShapeapplyWallShape(VoxelShape p_58034_, WallSide p_58035_, VoxelShape p_58036_, VoxelShape p_58037_) private booleanconnectsTo(BlockState p_58021_, boolean p_58022_, Direction p_58023_) protected voidgetCollisionShape(BlockState p_58055_, BlockGetter p_58056_, BlockPos p_58057_, CollisionContext p_58058_) getFluidState(BlockState p_58060_) getShape(BlockState p_58050_, BlockGetter p_58051_, BlockPos p_58052_, CollisionContext p_58053_) getStateForPlacement(BlockPlaceContext p_57973_) private static booleanisConnected(BlockState p_58011_, Property<WallSide> p_58012_) private static booleanisCovered(VoxelShape p_58039_, VoxelShape p_58040_) booleanisPathfindable(BlockState p_57996_, BlockGetter p_57997_, BlockPos p_57998_, 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 WallSidemakeWallState(boolean p_58042_, VoxelShape p_58043_, VoxelShape p_58044_) mirror(BlockState p_58001_, Mirror p_58002_) booleanpropagatesSkylightDown(BlockState p_58046_, BlockGetter p_58047_, BlockPos p_58048_) rotate(BlockState p_58004_, Rotation p_58005_) private booleanshouldRaisePost(BlockState p_58007_, BlockState p_58008_, VoxelShape p_58009_) private BlockStatesideUpdate(LevelReader p_57989_, BlockPos p_57990_, BlockState p_57991_, BlockPos p_57992_, BlockState p_57993_, Direction p_57994_) private BlockStatetopUpdate(LevelReader p_57975_, BlockState p_57976_, BlockPos p_57977_, BlockState p_57978_) updateShape(BlockState p_58014_, Direction p_58015_, BlockState p_58016_, LevelAccessor p_58017_, BlockPos p_58018_, BlockPos p_58019_) private BlockStateupdateShape(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 BlockStateupdateSides(BlockState p_58025_, boolean p_58026_, boolean p_58027_, boolean p_58028_, boolean p_58029_, VoxelShape p_58030_) Methods inherited from class net.minecraft.world.level.block.BlockanimateTick, appendHoverText, asBlock, asItem, box, builtInRegistryHolder, byItem, canSupportCenter, canSupportRigidBlock, canSustainPlant, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, dropResources, fallOn, getCloneItemStack, getDescriptionId, getDrops, getDrops, getExplosionResistance, getFriction, getId, getJumpFactor, getName, getRenderPropertiesInternal, getShapeForEachState, getSoundType, getSpeedFactor, getStateDefinition, handlePrecipitation, hasDynamicShape, initializeClient, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isRandomlyTicking, isShapeFullBlock, playerDestroy, playerWillDestroy, popExperience, popResource, popResourceFromFace, pushEntitiesUp, registerDefaultState, setPlacedBy, shouldRenderFace, spawnDestroyParticles, stateById, stepOn, toString, tryDropExperience, updateEntityAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExploded, withPropertiesOfMethods inherited from class net.minecraft.world.level.block.state.BlockBehaviourattack, canBeReplaced, canBeReplaced, canSurvive, defaultDestroyTime, defaultMapColor, entityInside, getAnalogOutputSignal, getBlockSupportShape, getDestroyProgress, getDirectSignal, getDrops, getInteractionShape, getLightBlock, getLootTable, getMaxHorizontalOffset, getMaxVerticalOffset, getMenuProvider, getOcclusionShape, getRenderShape, getSeed, getShadeBrightness, getSignal, getVisualShape, hasAnalogOutputSignal, isAir, isCollisionShapeFullBlock, isOcclusionShapeFullBlock, isSignalSource, neighborChanged, onPlace, onProjectileHit, onRemove, randomTick, requiredFeatures, skipRendering, spawnAfterBreak, tick, triggerEvent, updateIndirectNeighbourShapes, use, useShapeForLightOcclusionMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.flag.FeatureElementisEnabledMethods inherited from interface net.minecraftforge.common.extensions.IForgeBlockaddLandingEffects, addRunningEffects, canBeHydrated, canConnectRedstone, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, collisionExtendsVertically, getAdjacentBlockPathType, getAppearance, getBeaconColorMultiplier, getBedDirection, getBlockPathType, getCloneItemStack, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFriction, getLightEmission, getMapColor, getPistonPushReaction, getRespawnPosition, getSoundType, 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, supportsExternalFaceHidingMethods inherited from interface net.minecraftforge.common.extensions.IForgeBucketPickupgetPickupSoundMethods inherited from interface net.minecraft.world.level.block.SimpleWaterloggedBlockcanPlaceLiquid, getPickupSound, pickupBlock, placeLiquid
- 
Field Details- 
UP
- 
EAST_WALL
- 
NORTH_WALL
- 
SOUTH_WALL
- 
WEST_WALL
- 
WATERLOGGED
- 
shapeByIndex
- 
collisionShapeByIndex
- 
WALL_WIDTHprivate static final int WALL_WIDTH- See Also:
 
- 
WALL_HEIGHTprivate static final int WALL_HEIGHT- See Also:
 
- 
POST_WIDTHprivate static final int POST_WIDTH- See Also:
 
- 
POST_COVER_WIDTHprivate static final int POST_COVER_WIDTH- See Also:
 
- 
WALL_COVER_STARTprivate static final int WALL_COVER_START- See Also:
 
- 
WALL_COVER_ENDprivate static final int WALL_COVER_END- See Also:
 
- 
POST_TEST
- 
NORTH_TEST
- 
SOUTH_TEST
- 
WEST_TEST
- 
EAST_TEST
 
- 
- 
Constructor Details- 
WallBlock
 
- 
- 
Method Details- 
applyWallShapeprivate static VoxelShape applyWallShape(VoxelShape p_58034_, WallSide p_58035_, VoxelShape p_58036_, VoxelShape p_58037_) 
- 
makeShapesprivate Map<BlockState,VoxelShape> makeShapes(float p_57966_, float p_57967_, float p_57968_, float p_57969_, float p_57970_, float p_57971_) 
- 
getShapepublic VoxelShape getShape(BlockState p_58050_, BlockGetter p_58051_, BlockPos p_58052_, CollisionContext p_58053_) - Overrides:
- getShapein class- BlockBehaviour
 
- 
getCollisionShapepublic VoxelShape getCollisionShape(BlockState p_58055_, BlockGetter p_58056_, BlockPos p_58057_, CollisionContext p_58058_) - Overrides:
- getCollisionShapein class- BlockBehaviour
 
- 
isPathfindablepublic boolean isPathfindable(BlockState p_57996_, BlockGetter p_57997_, BlockPos p_57998_, PathComputationType p_57999_) - Overrides:
- isPathfindablein class- BlockBehaviour
 
- 
connectsTo
- 
getStateForPlacement- Overrides:
- getStateForPlacementin class- Block
 
- 
updateShapepublic BlockState updateShape(BlockState p_58014_, Direction p_58015_, BlockState p_58016_, LevelAccessor p_58017_, BlockPos p_58018_, BlockPos p_58019_) - Overrides:
- updateShapein class- BlockBehaviour
 
- 
isConnected
- 
isCovered
- 
topUpdateprivate BlockState topUpdate(LevelReader p_57975_, BlockState p_57976_, BlockPos p_57977_, BlockState p_57978_) 
- 
sideUpdateprivate BlockState sideUpdate(LevelReader p_57989_, BlockPos p_57990_, BlockState p_57991_, BlockPos p_57992_, BlockState p_57993_, Direction p_57994_) 
- 
updateShapeprivate 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
- 
updateSidesprivate BlockState updateSides(BlockState p_58025_, boolean p_58026_, boolean p_58027_, boolean p_58028_, boolean p_58029_, VoxelShape p_58030_) 
- 
makeWallState
- 
getFluidState- Overrides:
- getFluidStatein class- BlockBehaviour
 
- 
propagatesSkylightDown- Overrides:
- propagatesSkylightDownin class- Block
 
- 
createBlockStateDefinition- Overrides:
- createBlockStateDefinitionin class- Block
 
- 
rotate- Overrides:
- rotatein class- BlockBehaviour
 
- 
mirror- Overrides:
- mirrorin class- BlockBehaviour
 
 
-