net.minecraft.world.level.block

public class WallBlock

extends Block implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

dxd
net.minecraft.world.level.block.WallBlock
net.minecraft.class_2544
net.minecraft.block.WallBlock
net.minecraft.src.C_1956_

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<WallBlock>
a
CODEC
field_46487
CODEC
f_302236_
public static final BooleanProperty
b
UP
field_11717
UP
f_57949_
public static final EnumProperty<WallSide>
c
EAST
field_55815
EAST_WALL_SHAPE
f_380416_
public static final EnumProperty<WallSide>
d
NORTH
field_55816
NORTH_WALL_SHAPE
f_381818_
public static final EnumProperty<WallSide>
e
SOUTH
field_55817
SOUTH_WALL_SHAPE
f_382700_
public static final EnumProperty<WallSide>
f
WEST
field_55818
WEST_WALL_SHAPE
f_380102_
public static final Map<Direction, EnumProperty<WallSide>>
g
PROPERTY_BY_DIRECTION
field_55819
WALL_SHAPE_PROPERTIES_BY_DIRECTION
f_380448_
public static final BooleanProperty
h
WATERLOGGED
field_22160
WATERLOGGED
f_57954_
private final Function<BlockState, VoxelShape>
i
shapes
field_55820
outlineShapeFunction
f_381131_
private final Function<BlockState, VoxelShape>
D
collisionShapes
field_55812
collisionShapeFunction
f_380757_
private static final VoxelShape
R
TEST_SHAPE_POST
field_55813
POST_SHAPE_FOR_TALL_TEST
f_380929_
private static final Map<Direction, VoxelShape>
S
TEST_SHAPES_WALL
field_55814
WALL_SHAPES_FOR_TALL_TEST_BY_DIRECTION
f_381705_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<WallBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
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)
m_57965_(float p_57967_, float arg1)
protected VoxelShape
a(ebq arg0, djn arg1, iw arg2, fgh 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)
m_5940_(C_2064_ p_58051_, C_1559_ p_58052_, C_4675_ p_58053_, C_3051_ arg3)
protected VoxelShape
b(ebq arg0, djn arg1, iw arg2, fgh 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)
m_5939_(C_2064_ p_58056_, C_1559_ p_58057_, C_4675_ p_58058_, C_3051_ arg3)
protected boolean
a(ebq arg0, eyp arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
m_7357_(C_2064_ p_57999_, C_2754_ arg1)
private boolean
a(ebq 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)
m_58020_(C_2064_ p_58022_, boolean p_58023_, C_4687_ arg2)
public BlockState
a(ded arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
protected BlockState
a(ebq arg0, dkm arg1, dky arg2, iw arg3, jc arg4, iw arg5, ebq arg6, bai 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)
m_7417_(C_2064_ p_363038_, C_1599_ p_368345_, C_346056_ p_58018_, C_4675_ p_58015_, C_4687_ p_58019_, C_4675_ p_58016_, C_2064_ p_364621_, C_212974_ arg7)
private static boolean
a(ebq arg0, ect<edd> arg1)
isConnected(BlockState arg0, Property<WallSide> arg1)
method_24424(class_2680 arg0, class_2769<class_4778> arg1)
isConnected(BlockState state, Property<WallShape> property)
m_58010_(C_2064_ p_58011_, C_2097_<C_2105_> p_58012_)
private static boolean
a(fgw arg0, fgw arg1)
isCovered(VoxelShape arg0, VoxelShape arg1)
method_24427(class_265 arg0, class_265 arg1)
shouldUseTallShape(VoxelShape aboveShape, VoxelShape tallShape)
m_58038_(C_3072_ p_58039_, C_3072_ p_58040_)
private BlockState
a(dkm arg0, ebq arg1, iw arg2, ebq 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)
m_57974_(C_1599_ p_57976_, C_2064_ p_57977_, C_4675_ p_57978_, C_2064_ arg3)
private BlockState
a(dkm arg0, iw arg1, ebq arg2, iw arg3, ebq 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)
m_57988_(C_1599_ p_57990_, C_4675_ p_57991_, C_2064_ p_57992_, C_4675_ p_57993_, C_2064_ p_57994_, C_4687_ arg5)
private BlockState
a(dkm arg0, ebq arg1, iw arg2, ebq 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)
m_57979_(C_1599_ p_57981_, C_2064_ p_57982_, C_4675_ p_57983_, C_2064_ p_57984_, boolean p_57985_, boolean p_57986_, boolean p_57987_, boolean arg7)
private boolean
a(ebq arg0, ebq arg1, fgw 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)
m_58006_(C_2064_ p_58008_, C_2064_ p_58009_, C_3072_ arg2)
private BlockState
a(ebq arg0, boolean arg1, boolean arg2, boolean arg3, boolean arg4, fgw 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)
m_58024_(C_2064_ p_58026_, boolean p_58027_, boolean p_58028_, boolean p_58029_, boolean p_58030_, C_3072_ arg5)
private WallSide
a(boolean arg0, fgw arg1, fgw 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)
m_58041_(boolean p_58043_, C_3072_ p_58044_, C_3072_ arg2)
protected FluidState
b_(ebq arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
protected boolean
e_(ebq arg0)
propagatesSkylightDown(BlockState arg0)
method_9579(class_2680 arg0)
isTransparent(BlockState arg0)
m_49099_(C_2064_ arg0)
protected void
a(ebr$a<dno, ebq> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
protected BlockState
a(ebq arg0, dui arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
m_6843_(C_2064_ p_58005_, C_1886_ arg1)
protected BlockState
a(ebq arg0, dsr arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
m_6943_(C_2064_ p_58002_, C_1838_ arg1)