net.minecraft.world.level.block

public class WallBlock

extends Block implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

dfm
net.minecraft.world.level.block.WallBlock
net.minecraft.class_2544
net.minecraft.block.WallBlock
net.minecraft.src.C_1956_
net.minecraft.world.level.block.BlockCobbleWall

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_WALL
field_22156
EAST_SHAPE
f_57950_
public static final EnumProperty<WallSide>
d
NORTH_WALL
field_22157
NORTH_SHAPE
f_57951_
public static final EnumProperty<WallSide>
e
SOUTH_WALL
field_22158
SOUTH_SHAPE
f_57952_
public static final EnumProperty<WallSide>
f
WEST_WALL
field_22159
WEST_SHAPE
f_57953_
public static final BooleanProperty
g
WATERLOGGED
field_22160
WATERLOGGED
f_57954_
private final Map<BlockState, VoxelShape>
h
shapeByIndex
field_22161
shapeMap
f_57955_
private final Map<BlockState, VoxelShape>
i
collisionShapeByIndex
field_22162
collisionShapeMap
f_57956_
private static final int
j
WALL_WIDTH
field_31276
field_31276
f_154876_
private static final int
k
WALL_HEIGHT
field_31277
field_31277
f_154877_
private static final int
l
POST_WIDTH
field_31278
field_31278
f_154878_
private static final int
m
POST_COVER_WIDTH
field_31279
field_31279
f_154879_
private static final int
n
WALL_COVER_START
field_31280
field_31280
f_154880_
private static final int
o
WALL_COVER_END
field_31281
field_31281
f_154881_
private static final VoxelShape
F
POST_TEST
field_22163
TALL_POST_SHAPE
f_57957_
private static final VoxelShape
G
NORTH_TEST
field_22164
TALL_NORTH_SHAPE
f_57958_
private static final VoxelShape
H
SOUTH_TEST
field_22165
TALL_SOUTH_SHAPE
f_57959_
private static final VoxelShape
I
WEST_TEST
field_22166
TALL_WEST_SHAPE
f_57960_
private static final VoxelShape
J
EAST_TEST
field_22167
TALL_EAST_SHAPE
f_57961_

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 static VoxelShape
a(emm arg0, dkt arg1, emm arg2, emm 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)
m_58033_(C_3072_ p_58034_, C_2105_ p_58035_, C_3072_ p_58036_, C_3072_ p_58037_)
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)
m_57965_(float p_57967_, float p_57968_, float p_57969_, float p_57970_, float p_57971_, float arg5)
public VoxelShape
a(djh arg0, csv arg1, hx arg2, ely 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)
public VoxelShape
b(djh arg0, csv arg1, hx arg2, ely 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)
public boolean
a(djh arg0, csv arg1, hx arg2, efh arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
canPathfindThrough(BlockState arg0, BlockView arg1, BlockPos arg2, NavigationType arg3)
m_7357_(C_2064_ p_57997_, C_1559_ p_57998_, C_4675_ p_57999_, C_2754_ arg3)
private boolean
a(djh arg0, boolean arg1, ic 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(cph arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
public BlockState
a(djh arg0, ic arg1, djh arg2, ctq arg3, hx arg4, hx arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, LevelAccessor arg3, BlockPos arg4, BlockPos arg5)
method_9559(class_2680 arg0, class_2350 arg1, class_2680 arg2, class_1936 arg3, class_2338 arg4, class_2338 arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
m_7417_(C_2064_ p_58015_, C_4687_ p_58016_, C_2064_ p_58017_, C_1598_ p_58018_, C_4675_ p_58019_, C_4675_ arg5)
private static boolean
a(djh arg0, dkk<dkt> 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(emm arg0, emm 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(cts arg0, djh arg1, hx arg2, djh 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(cts arg0, hx arg1, djh arg2, hx arg3, djh arg4, ic 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(cts arg0, djh arg1, hx arg2, djh 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(djh arg0, djh arg1, emm 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(djh arg0, boolean arg1, boolean arg2, boolean arg3, boolean arg4, emm 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, emm arg1, emm 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)
public FluidState
c_(djh arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
public boolean
a_(djh arg0, csv arg1, hx arg2)
propagatesSkylightDown(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_9579(class_2680 arg0, class_1922 arg1, class_2338 arg2)
isTransparent(BlockState arg0, BlockView arg1, BlockPos arg2)
m_7420_(C_2064_ p_58047_, C_1559_ p_58048_, C_4675_ arg2)
protected void
a(dji$a<cwq, djh> 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)
public BlockState
a(djh arg0, ddc 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)
public BlockState
a(djh arg0, dbm 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)