net.minecraft.world.level.block

public class ChiseledBookShelfBlock

extends BaseEntityBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock

dlq
net.minecraft.world.level.block.ChiseledBookShelfBlock
net.minecraft.class_7714
net.minecraft.unmapped.C_ilehnffu
net.minecraft.block.ChiseledBookshelfBlock
net.minecraft.block.ChiseledBookshelfBlock
net.minecraft.src.C_243606_
net.minecraft.world.level.block.BlockChest

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<ChiseledBookShelfBlock>
a
CODEC
field_46312
f_zfntzwjm
CODEC
CODEC
f_303870_
private static final int
d
MAX_BOOKS_IN_STORAGE
field_41309
f_xlmuyrbb
MAX_BOOK_COUNT
MAX_STORED_BOOKS
f_260522_
public static final int
b
BOOKS_PER_ROW
field_41307
f_rkmibflf
BOOK_HEIGHT
BOOKS_PER_ROW
f_260633_
public static final List<BooleanProperty>
c
SLOT_OCCUPIED_PROPERTIES
field_41308
f_dvhczcuf
SLOT_OCCUPIED_PROPERTIES
SLOT_OCCUPATION_PROPERTIES
f_260698_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<ChiseledBookShelfBlock>
a()
codec()
method_53969()
m_wrnxumjr()
getCodec()
getCodec()
m_304657_()
protected RenderShape
a_(dxu arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
m_mjglzdvu(C_txtbiemp arg0)
getRenderType(BlockState arg0)
getRenderType(BlockState arg0)
m_7514_(C_2064_ arg0)
protected InteractionResult
a(cxo arg0, dxu arg1, dhh arg2, jh arg3, cpw arg4, bth arg5, fbt 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)
m_jzhgkbwu(C_sddaxwyk arg0, C_txtbiemp arg1, C_cdctfzbn arg2, C_hynzadkk arg3, C_jzrpycqo arg4, C_laxmzoqs arg5, C_jdakttms arg6)
onUseWithItem(ItemStack arg0, BlockState arg1, World arg2, BlockPos arg3, PlayerEntity arg4, Hand arg5, BlockHitResult arg6)
onInteract(ItemStack arg0, BlockState arg1, World arg2, BlockPos arg3, PlayerEntity arg4, Hand arg5, BlockHitResult arg6)
m_51273_(C_1391_ p_329797_, C_2064_ p_331003_, C_1596_ p_335104_, C_4675_ p_334454_, C_1141_ p_336011_, C_470_ p_329086_, C_3041_ arg6)
protected InteractionResult
a(dxu arg0, dhh arg1, jh arg2, cpw arg3, fbt 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)
m_pguoxmgn(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_jzrpycqo arg3, C_jdakttms arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
m_6227_(C_2064_ p_333933_, C_1596_ p_333604_, C_4675_ p_334275_, C_1141_ p_334482_, C_3041_ arg4)
private OptionalInt
a(fbt arg0, dxu arg1)
getHitSlot(BlockHitResult arg0, BlockState arg1)
method_47580(class_3965 arg0, class_2680 arg1)
m_astlfcmg(C_jdakttms arg0, C_txtbiemp arg1)
getSlotForHitPos(BlockHitResult hit, BlockState state)
getHitSlot(BlockHitResult hitResult, BlockState state)
m_261279_(C_3041_ p_330398_, C_2064_ arg1)
private static Optional<Vec2>
a(fbt arg0, jm arg1)
getRelativeHitCoordinatesForBlockFace(BlockHitResult arg0, Direction arg1)
method_47579(class_3965 arg0, class_2350 arg1)
m_zeslikgv(C_jdakttms arg0, C_xpuuihxf arg1)
getHitPos(BlockHitResult hit, Direction facing)
getRelativeHitCoordinates(BlockHitResult blockHitResult, Direction direction)
m_260871_(C_3041_ p_261714_, C_4687_ p_262116_)
private static int
a(float arg0)
getSection(float arg0)
method_47577(float arg0)
m_pnjqvfbk(float arg0)
getColumn(float x)
getColumn(float x)
m_261181_(float p_261599_)
private static void
a(dhh arg0, jh arg1, cpw arg2, dvf arg3, cxo 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)
m_hfscqsby(C_cdctfzbn arg0, C_hynzadkk arg1, C_jzrpycqo arg2, C_ondgvlom arg3, C_sddaxwyk arg4, int arg5)
tryAddBook(World world, BlockPos pos, PlayerEntity player, ChiseledBookshelfBlockEntity blockEntity, ItemStack stack, int slot)
addBook(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(dhh arg0, jh arg1, cpw arg2, dvf 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)
m_mbxzhrqs(C_cdctfzbn arg0, C_hynzadkk arg1, C_jzrpycqo arg2, C_ondgvlom arg3, int arg4)
tryRemoveBook(World world, BlockPos pos, PlayerEntity player, ChiseledBookshelfBlockEntity blockEntity, int slot)
removeBook(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(jh arg0, dxu arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
m_zupvpdxk(C_hynzadkk arg0, C_txtbiemp arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
m_142194_(C_4675_ p_248729_, C_2064_ arg1)
protected void
a(dxv$a<dkl, dxu> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
m_yujtcnah(C_ezfeikaq$C_mfnsmxhw<C_mmxmpdoq, C_txtbiemp> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
protected void
a(dxu arg0, dhh arg1, jh arg2, dxu 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)
m_rhbsxbgh(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState 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(dbf arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
m_iwedynhy(C_aiootljq arg0)
getPlacementState(ItemPlacementContext arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
public BlockState
a(dxu arg0, drb arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
m_umbsjste(C_txtbiemp arg0, C_mboglirk arg1)
rotate(BlockState arg0, BlockRotation arg1)
rotate(BlockState arg0, BlockRotation arg1)
m_6843_(C_2064_ p_288993_, C_1886_ arg1)
public BlockState
a(dxu arg0, dpk arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
m_ssvaouey(C_txtbiemp arg0, C_qomzaqud arg1)
mirror(BlockState arg0, BlockMirror arg1)
mirror(BlockState arg0, BlockMirror arg1)
m_6943_(C_2064_ p_288962_, C_1838_ arg1)
protected boolean
c_(dxu arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
m_upxjoscw(C_txtbiemp arg0)
hasComparatorOutput(BlockState arg0)
hasComparatorOutput(BlockState arg0)
m_7278_(C_2064_ arg0)
protected int
a(dxu arg0, dhh arg1, jh arg2)
getAnalogOutputSignal(BlockState arg0, Level arg1, BlockPos arg2)
method_9572(class_2680 arg0, class_1937 arg1, class_2338 arg2)
m_wtutwlcg(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
m_6782_(C_2064_ p_252207_, C_1596_ p_248999_, C_4675_ arg2)