net.minecraft.world.level.block

public class WallBlock

extends Block implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

dwt
net.minecraft.world.level.block.WallBlock
net.minecraft.class_2544
net.minecraft.block.WallBlock

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
field_55815
EAST_WALL_SHAPE
public static final EnumProperty<WallSide>
d
NORTH
field_55816
NORTH_WALL_SHAPE
public static final EnumProperty<WallSide>
e
SOUTH
field_55817
SOUTH_WALL_SHAPE
public static final EnumProperty<WallSide>
f
WEST
field_55818
WEST_WALL_SHAPE
public static final Map<Direction, EnumProperty<WallSide>>
g
PROPERTY_BY_DIRECTION
field_55819
WALL_SHAPE_PROPERTIES_BY_DIRECTION
public static final BooleanProperty
h
WATERLOGGED
field_22160
WATERLOGGED
private final Function<BlockState, VoxelShape>
i
shapes
field_55820
outlineShapeFunction
private final Function<BlockState, VoxelShape>
D
collisionShapes
field_55812
collisionShapeFunction
private static final VoxelShape
R
TEST_SHAPE_POST
field_55813
POST_SHAPE_FOR_TALL_TEST
private static final Map<Direction, VoxelShape>
S
TEST_SHAPES_WALL
field_55814
WALL_SHAPES_FOR_TALL_TEST_BY_DIRECTION

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<WallBlock>
a()
codec()
method_53969()
getCodec()
private Function<BlockState, VoxelShape>
a(float arg0, float arg1)
makeShapes(float arg0, float arg1)
method_24420(float arg0, float arg1)
createShapeFunction(float tallHeight, float lowHeight)
protected VoxelShape
a(ebg arg0, djd arg1, iw arg2, ffx 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(ebg arg0, djd arg1, iw arg2, ffx 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(ebg arg0, eyf arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
private boolean
a(ebg arg0, boolean arg1, jc 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(ddt arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected BlockState
a(ebg arg0, dkc arg1, dko arg2, iw arg3, jc arg4, iw arg5, ebg arg6, azz 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(ebg arg0, ecj<ect> 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(fgm arg0, fgm arg1)
isCovered(VoxelShape arg0, VoxelShape arg1)
method_24427(class_265 arg0, class_265 arg1)
shouldUseTallShape(VoxelShape aboveShape, VoxelShape tallShape)
private BlockState
a(dkc arg0, ebg arg1, iw arg2, ebg 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(dkc arg0, iw arg1, ebg arg2, iw arg3, ebg arg4, jc 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(dkc arg0, ebg arg1, iw arg2, ebg 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(ebg arg0, ebg arg1, fgm 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(ebg arg0, boolean arg1, boolean arg2, boolean arg3, boolean arg4, fgm 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, fgm arg1, fgm 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_(ebg arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
protected boolean
e_(ebg arg0)
propagatesSkylightDown(BlockState arg0)
method_9579(class_2680 arg0)
isTransparent(BlockState arg0)
protected void
a(ebh$a<dne, ebg> 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(ebg arg0, dty arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected BlockState
a(ebg arg0, dsh arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)