net.minecraft.world.level.block

public class ChiseledBookShelfBlock

extends BaseEntityBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock

cty
net.minecraft.world.level.block.ChiseledBookShelfBlock
net.minecraft.class_7714
net.minecraft.block.ChiseledBookshelfBlock
net.minecraft.src.C_243606_
net.minecraft.world.level.block.ChiseledBookShelfBlock

Field summary

Modifier and TypeField
private static final int
c
MAX_BOOKS_IN_STORAGE
field_41309
MAX_BOOK_COUNT
f_260522_
public static final int
a
BOOKS_PER_ROW
field_41307
BOOK_HEIGHT
f_260633_
public static final List<BooleanProperty>
b
SLOT_OCCUPIED_PROPERTIES
field_41308
SLOT_OCCUPIED_PROPERTIES
f_260698_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public RenderShape
b_(dfj arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
m_7514_(C_2064_ arg0)
public InteractionResult
a(dfj arg0, cpv arg1, gw arg2, cbu arg3, bgx arg4, ehj arg5)
use(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, InteractionHand arg4, BlockHitResult arg5)
method_9534(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_3965 arg5)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
m_6227_(C_2064_ p_251668_, C_1596_ p_249108_, C_4675_ p_249954_, C_1141_ p_249823_, C_470_ p_250640_, C_3041_ arg5)
private static Optional<Vec2>
a(ehj arg0, ha arg1)
getRelativeHitCoordinatesForBlockFace(BlockHitResult arg0, Direction arg1)
method_47579(class_3965 arg0, class_2350 arg1)
getHitPos(BlockHitResult hit, Direction facing)
m_260871_(C_3041_ p_261714_, C_4687_ p_262116_)
private static int
a(ehm arg0)
getHitSlot(Vec2 arg0)
method_47580(class_241 arg0)
getSlotForHitPos(Vec2f hitPos)
m_261279_(C_3045_ p_261991_)
private static int
a(float arg0)
getSection(float arg0)
method_47577(float arg0)
getColumn(float x)
m_261181_(float p_261599_)
private static void
a(cpv arg0, gw arg1, cbu arg2, dde arg3, cjf 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)
m_262410_(C_1596_ p_262592_, C_4675_ p_262669_, C_1141_ p_262572_, C_243618_ p_262606_, C_1391_ p_262587_, int p_262692_)
private static void
a(cpv arg0, gw arg1, cbu arg2, dde 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)
m_262380_(C_1596_ p_262654_, C_4675_ p_262601_, C_1141_ p_262636_, C_243618_ p_262605_, int p_262673_)
public BlockEntity
a(gw arg0, dfj arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
m_142194_(C_4675_ p_248729_, C_2064_ arg1)
protected void
a(dfk$a<csv, dfj> 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 void
a(dfj arg0, cpv arg1, gw arg2, dfj arg3, boolean arg4)
onRemove(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_9536(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
m_6810_(C_2064_ p_251485_, C_1596_ p_251954_, C_4675_ p_251852_, C_2064_ p_252250_, boolean arg4)
public BlockState
a(cln arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
public BlockState
a(dfj arg0, czh arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
m_6843_(C_2064_ p_288993_, C_1886_ arg1)
public BlockState
a(dfj arg0, cxq arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
m_6943_(C_2064_ p_288962_, C_1838_ arg1)
public boolean
d_(dfj arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
m_7278_(C_2064_ arg0)
public int
a(dfj arg0, cpv arg1, gw arg2)
getAnalogOutputSignal(BlockState arg0, Level arg1, BlockPos arg2)
method_9572(class_2680 arg0, class_1937 arg1, class_2338 arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
m_6782_(C_2064_ p_252207_, C_1596_ p_248999_, C_4675_ arg2)