History - net.minecraft.world.level.block.ShelfBlock

1.21.10

Names

Fields

Constructors

Methods

1.21.9

Names

ecg

net.minecraft.world.level.block.ShelfBlock

net.minecraft.class_11586

net.minecraft.block.ShelfBlock

net.minecraft.src.C_411077_

net.minecraft.world.level.block.ShelfBlock

Fields

com.mojang.serialization.MapCodec<ShelfBlock>: a, CODEC, field_61423, CODEC, f_412593_

BooleanProperty: b, POWERED, field_61424, POWERED, f_413124_

EnumProperty<Direction>: c, FACING, field_61425, FACING, f_413146_

EnumProperty<SideChainPart>: d, SIDE_CHAIN_PART, field_61426, SIDE_CHAIN, f_411655_

BooleanProperty: e, WATERLOGGED, field_61427, WATERLOGGED, f_412058_

Map<Direction, VoxelShape>: f, SHAPES, field_61428, SHAPES, f_412286_

Constructors

(BlockBehaviour$Properties)

Methods

com.mojang.serialization.MapCodec<ShelfBlock> (): a, codec, method_53969, getCodec, m_304657_

VoxelShape (BlockState, BlockGetter, BlockPos, CollisionContext): a, getShape, method_9530, getOutlineShape, m_5940_

boolean (BlockState): g_, useShapeForLightOcclusion, method_9526, hasSidedTransparency, m_7923_

boolean (BlockState, PathComputationType): a, isPathfindable, method_9516, canPathfindThrough, m_7357_

BlockEntity (BlockPos, BlockState): a, newBlockEntity, method_10123, createBlockEntity, m_142194_

void (StateDefinition$Builder<Block, BlockState>): a, createBlockStateDefinition, method_9515, appendProperties, m_7926_

void (BlockState, ServerLevel, BlockPos, boolean): a, affectNeighborsAfterRemoval, method_66388, onStateReplaced, m_7892_

void (BlockState, Level, BlockPos, Block, Orientation, boolean): a, neighborChanged, method_9612, neighborUpdate, m_6861_

BlockState (BlockPlaceContext): a, getStateForPlacement, method_9605, getPlacementState, m_5573_

BlockState (BlockState, Rotation): a, rotate, method_9598, rotate, m_6843_

BlockState (BlockState, Mirror): a, mirror, method_9569, mirror, m_6943_

int (): b, getRows, method_72586, getRows, m_419503_

int (): c, getColumns, method_72587, getColumns, m_414958_

InteractionResult (ItemStack, BlockState, Level, BlockPos, Player, InteractionHand, BlockHitResult): a, useItemOn, method_55765, onUseWithItem, m_51273_

boolean (ItemStack, Player, ShelfBlockEntity, int, Inventory): a, swapSingleItem, method_72614, swapSingleStack, m_420423_

boolean (Level, BlockPos, Inventory): a, swapHotbar, method_72615, swapAllStacks, m_417184_

SideChainPart (BlockState): p, getSideChainPart, method_72619, getSideChainPart, m_415796_

BlockState (BlockState, SideChainPart): a, setSideChainPart, method_72617, withSideChainPart, m_415044_

Direction (BlockState): r, getFacing, method_72620, getFacing, m_415938_

boolean (BlockState): s, isConnectable, method_72621, canChainWith, m_416508_

int (): d, getMaxChainLength, method_72618, getMaxSideChainLength, m_416352_

void (BlockState, Level, BlockPos, BlockState, boolean): a, onPlace, method_9615, onBlockAdded, m_6807_

void (LevelAccessor, BlockPos, SoundEvent): a, playSound, method_72616, playSound, m_417194_

FluidState (BlockState): b_, getFluidState, method_9545, getFluidState, m_5888_

BlockState (BlockState, LevelReader, ScheduledTickAccess, BlockPos, Direction, BlockPos, BlockState, RandomSource): a, updateShape, method_9559, getStateForNeighborUpdate, m_7417_

boolean (BlockState): c_, hasAnalogOutputSignal, method_9498, hasComparatorOutput, m_7278_

int (BlockState, Level, BlockPos, Direction): a, getAnalogOutputSignal, method_9572, getComparatorOutput, m_48701_