net.minecraft.world.level.block

public class WallBlock

extends Block implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

dvc
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>
C
collisionShapes
field_55812
collisionShapeFunction
private static final VoxelShape
Q
TEST_SHAPE_POST
field_55813
POST_SHAPE_FOR_TALL_TEST
private static final Map<Direction, VoxelShape>
R
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(dzo arg0, dhv arg1, iu arg2, feb 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(dzo arg0, dhv arg1, iu arg2, feb 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(dzo arg0, ewk arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
private boolean
a(dzo arg0, boolean arg1, ja 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(dcl arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected BlockState
a(dzo arg0, dis arg1, dje arg2, iu arg3, ja arg4, iu arg5, dzo arg6, azt 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(dzo arg0, ear<ebb> 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(feq arg0, feq arg1)
isCovered(VoxelShape arg0, VoxelShape arg1)
method_24427(class_265 arg0, class_265 arg1)
shouldUseTallShape(VoxelShape aboveShape, VoxelShape tallShape)
private BlockState
a(dis arg0, dzo arg1, iu arg2, dzo 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(dis arg0, iu arg1, dzo arg2, iu arg3, dzo arg4, ja 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(dis arg0, dzo arg1, iu arg2, dzo 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(dzo arg0, dzo arg1, feq 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(dzo arg0, boolean arg1, boolean arg2, boolean arg3, boolean arg4, feq 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, feq arg1, feq 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_(dzo arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
protected boolean
e_(dzo arg0)
propagatesSkylightDown(BlockState arg0)
method_9579(class_2680 arg0)
isTransparent(BlockState arg0)
protected void
a(dzp$a<dlu, dzo> 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(dzo arg0, dsm arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected BlockState
a(dzo arg0, dqv arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)