net.minecraft.world.level.block

public class ChiseledBookShelfBlock

extends BaseEntityBlock implements SelectableSlotContainer

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock, SelectableSlotContainer

dzn
net.minecraft.world.level.block.ChiseledBookShelfBlock
net.minecraft.class_7714
net.minecraft.block.ChiseledBookshelfBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<ChiseledBookShelfBlock>
a
CODEC
field_46312
CODEC
public static final EnumProperty<Direction>
b
FACING
field_61990
FACING
public static final BooleanProperty
c
SLOT_0_OCCUPIED
field_61991
SLOT_0_OCCUPIED
public static final BooleanProperty
d
SLOT_1_OCCUPIED
field_61992
SLOT_1_OCCUPIED
public static final BooleanProperty
e
SLOT_2_OCCUPIED
field_61993
SLOT_2_OCCUPIED
public static final BooleanProperty
f
SLOT_3_OCCUPIED
field_61994
SLOT_3_OCCUPIED
public static final BooleanProperty
g
SLOT_4_OCCUPIED
field_61995
SLOT_4_OCCUPIED
public static final BooleanProperty
h
SLOT_5_OCCUPIED
field_61996
SLOT_5_OCCUPIED
private static final int
D
MAX_BOOKS_IN_STORAGE
field_41309
MAX_BOOK_COUNT
private static final int
R
BOOKS_PER_ROW
field_41307
BOOK_HEIGHT
public static final List<BooleanProperty>
i
SLOT_OCCUPIED_PROPERTIES
field_41308
SLOT_OCCUPIED_PROPERTIES

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<ChiseledBookShelfBlock>
a()
codec()
method_53969()
getCodec()
public int
b()
getRows()
method_72586()
getRows()
public int
c()
getColumns()
method_72587()
getColumns()
protected InteractionResult
a(dkm arg0, emz arg1, dvg arg2, is arg3, dcm arg4, ccz arg5, fsa arg6)
useItemOn(ItemStack arg0, BlockState arg1, Level arg2, BlockPos arg3, Player arg4, InteractionHand arg5, BlockHitResult arg6)
method_55765(class_1799 arg0, class_2680 arg1, class_1937 arg2, class_2338 arg3, class_1657 arg4, class_1268 arg5, class_3965 arg6)
onUseWithItem(ItemStack arg0, BlockState arg1, World arg2, BlockPos arg3, PlayerEntity arg4, Hand arg5, BlockHitResult arg6)
protected InteractionResult
a(emz arg0, dvg arg1, is arg2, dcm arg3, fsa arg4)
useWithoutItem(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, BlockHitResult arg4)
method_55766(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_3965 arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
private static void
a(dvg arg0, is arg1, dcm arg2, ekd arg3, dkm arg4, int arg5)
addBook(Level arg0, BlockPos arg1, Player arg2, ChiseledBookShelfBlockEntity arg3, ItemStack arg4, int arg5)
method_45458(class_1937 arg0, class_2338 arg1, class_1657 arg2, class_7716 arg3, class_1799 arg4, int arg5)
tryAddBook(World world, BlockPos pos, PlayerEntity player, ChiseledBookshelfBlockEntity blockEntity, ItemStack stack, int slot)
private static void
a(dvg arg0, is arg1, dcm arg2, ekd arg3, int arg4)
removeBook(Level arg0, BlockPos arg1, Player arg2, ChiseledBookShelfBlockEntity arg3, int arg4)
method_45457(class_1937 arg0, class_2338 arg1, class_1657 arg2, class_7716 arg3, int arg4)
tryRemoveBook(World world, BlockPos pos, PlayerEntity player, ChiseledBookshelfBlockEntity blockEntity, int slot)
public BlockEntity
a(is arg0, emz arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
protected void
a(ena$a<dyi, emz> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
protected void
a(emz arg0, axf arg1, is arg2, boolean arg3)
affectNeighborsAfterRemoval(BlockState arg0, ServerLevel arg1, BlockPos arg2, boolean arg3)
method_66388(class_2680 arg0, class_3218 arg1, class_2338 arg2, boolean arg3)
onStateReplaced(BlockState arg0, ServerWorld arg1, BlockPos arg2, boolean arg3)
public BlockState
a(dom arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
public BlockState
a(emz arg0, efe arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
public BlockState
a(emz arg0, edn arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
protected boolean
c_(emz arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
protected int
a(emz arg0, dvg arg1, is arg2, iz arg3)
getAnalogOutputSignal(BlockState arg0, Level arg1, BlockPos arg2, Direction arg3)
method_9572(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2350 arg3)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2, Direction arg3)