net.minecraft.block

public abstract class WallMountedBlock

extends HorizontalFacingBlock

All mapped superinterfaces:

ToggleableFeature, ItemConvertible

net.minecraft.world.level.block.FaceAttachedHorizontalDirectionalBlock
net.minecraft.world.level.block.FaceAttachedHorizontalDirectionalBlock
net.minecraft.class_2341
net.minecraft.block.WallMountedBlock

Field summary

Modifier and TypeField
public static final EnumProperty<BlockFace>
FACE
FACE
field_11007
FACE

Constructor summary

ModifierConstructor
protected (AbstractBlock$Settings properties)

Method summary

Modifier and TypeMethod
protected abstract com.mojang.serialization.MapCodec<? extends WallMountedBlock>
codec()
codec()
method_53969()
getCodec()
protected boolean
canSurvive(BlockState state, LevelReader level, BlockPos pos)
canSurvive(BlockState state, LevelReader level, BlockPos pos)
method_9558(class_2680 arg0, class_4538 arg1, class_2338 arg2)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
public static boolean
canAttach(LevelReader level, BlockPos pos, Direction direction)
canAttach(LevelReader level, BlockPos pos, Direction direction)
method_20046(class_4538 arg0, class_2338 arg1, class_2350 arg2)
canPlaceAt(WorldView world, BlockPos pos, Direction direction)
public BlockState
getStateForPlacement(BlockPlaceContext context)
getStateForPlacement(BlockPlaceContext context)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected BlockState
updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random)
updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random)
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)
protected static Direction
getConnectedDirection(BlockState state)
getConnectedDirection(BlockState state)
method_10119(class_2680 arg0)
getDirection(BlockState state)