net.minecraft.world.level.block

public class WallBlock

extends Block implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

dtn
net.minecraft.world.level.block.WallBlock
net.minecraft.class_2544
net.minecraft.block.WallBlock
net.minecraft.world.level.block.BlockCobbleWall

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<WallBlock>
a
CODEC
field_46487
CODEC
public static final BooleanProperty
b
UP
field_11717
UP
public static final EnumProperty<WallSide>
c
EAST_WALL
field_22156
EAST_SHAPE
public static final EnumProperty<WallSide>
d
NORTH_WALL
field_22157
NORTH_SHAPE
public static final EnumProperty<WallSide>
e
SOUTH_WALL
field_22158
SOUTH_SHAPE
public static final EnumProperty<WallSide>
f
WEST_WALL
field_22159
WEST_SHAPE
public static final BooleanProperty
g
WATERLOGGED
field_22160
WATERLOGGED
private final Map<BlockState, VoxelShape>
h
shapeByIndex
field_22161
shapeMap
private final Map<BlockState, VoxelShape>
i
collisionShapeByIndex
field_22162
collisionShapeMap
private static final int
j
WALL_WIDTH
field_31276
field_31276
private static final int
k
WALL_HEIGHT
field_31277
field_31277
private static final int
l
POST_WIDTH
field_31278
field_31278
private static final int
m
POST_COVER_WIDTH
field_31279
field_31279
private static final int
n
WALL_COVER_START
field_31280
field_31280
private static final int
o
WALL_COVER_END
field_31281
field_31281
private static final VoxelShape
G
POST_TEST
field_22163
TALL_POST_SHAPE
private static final VoxelShape
H
NORTH_TEST
field_22164
TALL_NORTH_SHAPE
private static final VoxelShape
I
SOUTH_TEST
field_22165
TALL_SOUTH_SHAPE
private static final VoxelShape
J
WEST_TEST
field_22166
TALL_WEST_SHAPE
private static final VoxelShape
K
EAST_TEST
field_22167
TALL_EAST_SHAPE

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<WallBlock>
a()
codec()
method_53969()
getCodec()
private static VoxelShape
a(fcs arg0, dzg arg1, fcs arg2, fcs arg3)
applyWallShape(VoxelShape arg0, WallSide arg1, VoxelShape arg2, VoxelShape arg3)
method_24426(class_265 arg0, class_4778 arg1, class_265 arg2, class_265 arg3)
getVoxelShape(VoxelShape base, WallShape wallShape, VoxelShape tall, VoxelShape low)
private Map<BlockState, VoxelShape>
a(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5)
makeShapes(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5)
method_24420(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5)
getShapeMap(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5)
protected VoxelShape
a(dxv arg0, dgn arg1, jh arg2, fcd arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
protected VoxelShape
b(dxv arg0, dgn arg1, jh arg2, fcd arg3)
getCollisionShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9549(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getCollisionShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
protected boolean
a(dxv arg0, eum arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
private boolean
a(dxv arg0, boolean arg1, jm arg2)
connectsTo(BlockState arg0, boolean arg1, Direction arg2)
method_16704(class_2680 arg0, boolean arg1, class_2350 arg2)
shouldConnectTo(BlockState state, boolean faceFullSquare, Direction side)
public BlockState
a(dbg arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected BlockState
a(dxv arg0, dhl arg1, dhx arg2, jh arg3, jm arg4, jh arg5, dxv arg6, bam arg7)
updateShape(BlockState arg0, LevelReader arg1, ScheduledTickAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomSource arg7)
method_9559(class_2680 arg0, class_4538 arg1, class_10225 arg2, class_2338 arg3, class_2350 arg4, class_2338 arg5, class_2680 arg6, class_5819 arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, ScheduledTickView arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, Random arg7)
private static boolean
a(dxv arg0, dyx<dzg> arg1)
isConnected(BlockState arg0, Property<WallSide> arg1)
method_24424(class_2680 arg0, class_2769<class_4778> arg1)
isConnected(BlockState state, Property<WallShape> property)
private static boolean
a(fcs arg0, fcs arg1)
isCovered(VoxelShape arg0, VoxelShape arg1)
method_24427(class_265 arg0, class_265 arg1)
shouldUseTallShape(VoxelShape aboveShape, VoxelShape tallShape)
private BlockState
a(dhl arg0, dxv arg1, jh arg2, dxv arg3)
topUpdate(LevelReader arg0, BlockState arg1, BlockPos arg2, BlockState arg3)
method_24421(class_4538 arg0, class_2680 arg1, class_2338 arg2, class_2680 arg3)
getStateAt(WorldView world, BlockState state, BlockPos pos, BlockState aboveState)
private BlockState
a(dhl arg0, jh arg1, dxv arg2, jh arg3, dxv arg4, jm arg5)
sideUpdate(LevelReader arg0, BlockPos arg1, BlockState arg2, BlockPos arg3, BlockState arg4, Direction arg5)
method_24423(class_4538 arg0, class_2338 arg1, class_2680 arg2, class_2338 arg3, class_2680 arg4, class_2350 arg5)
getStateWithNeighbor(WorldView world, BlockPos pos, BlockState state, BlockPos neighborPos, BlockState neighborState, Direction direction)
private BlockState
a(dhl arg0, dxv arg1, jh arg2, dxv arg3, boolean arg4, boolean arg5, boolean arg6, boolean arg7)
updateShape(LevelReader arg0, BlockState arg1, BlockPos arg2, BlockState arg3, boolean arg4, boolean arg5, boolean arg6, boolean arg7)
method_24422(class_4538 arg0, class_2680 arg1, class_2338 arg2, class_2680 arg3, boolean arg4, boolean arg5, boolean arg6, boolean arg7)
getStateWith(WorldView world, BlockState state, BlockPos pos, BlockState aboveState, boolean north, boolean east, boolean south, boolean west)
private boolean
a(dxv arg0, dxv arg1, fcs arg2)
shouldRaisePost(BlockState arg0, BlockState arg1, VoxelShape arg2)
method_27092(class_2680 arg0, class_2680 arg1, class_265 arg2)
shouldHavePost(BlockState state, BlockState aboveState, VoxelShape aboveShape)
private BlockState
a(dxv arg0, boolean arg1, boolean arg2, boolean arg3, boolean arg4, fcs arg5)
updateSides(BlockState arg0, boolean arg1, boolean arg2, boolean arg3, boolean arg4, VoxelShape arg5)
method_24425(class_2680 arg0, boolean arg1, boolean arg2, boolean arg3, boolean arg4, class_265 arg5)
getStateWith(BlockState state, boolean north, boolean east, boolean south, boolean west, VoxelShape aboveShape)
private WallSide
a(boolean arg0, fcs arg1, fcs arg2)
makeWallState(boolean arg0, VoxelShape arg1, VoxelShape arg2)
method_24428(boolean arg0, class_265 arg1, class_265 arg2)
getWallShape(boolean connected, VoxelShape aboveShape, VoxelShape tallShape)
protected FluidState
b_(dxv arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
protected boolean
e_(dxv arg0)
propagatesSkylightDown(BlockState arg0)
method_9579(class_2680 arg0)
isTransparent(BlockState arg0)
protected void
a(dxw$a<dkm, dxv> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
protected BlockState
a(dxv arg0, drc arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected BlockState
a(dxv arg0, dpl arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)