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

25w31a

Names

dyf

net.minecraft.world.level.block.ShelfBlock

net.minecraft.class_11586

net.minecraft.block.ShelfBlock

Fields

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

BooleanProperty: b, POWERED, field_61424, POWERED

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

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

BooleanProperty: e, WATERLOGGED, field_61427, WATERLOGGED

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

Constructors

(BlockBehaviour$Properties)

Methods

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

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

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

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

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

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

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

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

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

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

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

int (): b, getRows, method_72586, getRows

int (): c, getColumns, method_72587, getColumns

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

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

void (Level, BlockPos, Inventory): a, swapHotbar, method_72615, swapAllStacks

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

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

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

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

int (): d, getMaxChainLength, method_72618, getMaxSideChainLength

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

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

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

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

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

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