net.minecraft.world.level.block.entity

public class LecternBlockEntity

extends BlockEntity implements Clearable, MenuProvider

All mapped superinterfaces:

Clearable, MenuProvider, MenuConstructor

dyl
net.minecraft.world.level.block.entity.LecternBlockEntity
net.minecraft.class_3722
net.minecraft.unmapped.C_cctlzavr
net.minecraft.block.entity.LecternBlockEntity
net.minecraft.block.entity.LecternBlockEntity

Field summary

Modifier and TypeField
public static final int
a
DATA_PAGE
field_31348
f_rvhjxmgp
field_31348
PAGE_DATA
public static final int
b
NUM_DATA
field_31349
f_iecawanc
field_31349
DATA_VALUES
public static final int
c
SLOT_BOOK
field_31350
f_rxxrxiij
field_31350
BOOK_SLOT
public static final int
d
NUM_SLOTS
field_31351
f_sguoswdq
field_31351
SLOTS
private final Container
e
bookAccess
field_17386
f_oqozqfeg
inventory
inventory
private final ContainerData
f
dataAccess
field_17387
f_zjklaavi
propertyDelegate
propertyDelegate
ItemStack
g
book
field_17388
f_oxehbgik
book
book
int
h
page
field_17389
f_ihinhmno
currentPage
currentPage
private int
i
pageCount
field_17390
f_uphnhnow
pageCount
pageCount

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
public ItemStack
c()
getBook()
method_17520()
m_zebmjqiy()
getBook()
getBook()
public boolean
f()
hasBook()
method_17522()
m_svrokkmm()
hasBook()
hasBook()
public void
b(czd arg0)
setBook(ItemStack arg0)
method_17513(class_1799 arg0)
m_ztwwwtze(C_sddaxwyk arg0)
setBook(ItemStack book)
setBook(ItemStack book)
void
s()
onBookItemRemove()
method_17525()
m_fbyfypig()
onBookRemoved()
onBookRemoved()
public void
a(czd arg0, crc arg1)
setBook(ItemStack arg0, Player arg1)
method_17514(class_1799 arg0, class_1657 arg1)
m_zxzqecvt(C_sddaxwyk arg0, C_jzrpycqo arg1)
setBook(ItemStack book, PlayerEntity player)
setBook(ItemStack book, PlayerEntity player)
void
a(int arg0)
setPage(int arg0)
method_17511(int arg0)
m_xnnurfov(int arg0)
setCurrentPage(int currentPage)
setCurrentPage(int currentPage)
public int
j()
getPage()
method_17523()
m_ebyqpjmq()
getCurrentPage()
getCurrentPage()
public int
k()
getRedstoneSignal()
method_17524()
m_aqqopfmy()
getComparatorOutput()
getComparatorOutput()
private ItemStack
b(czd arg0, crc arg1)
resolveBook(ItemStack arg0, Player arg1)
method_17518(class_1799 arg0, class_1657 arg1)
m_toncconx(C_sddaxwyk arg0, C_jzrpycqo arg1)
resolveBook(ItemStack book, PlayerEntity player)
resolveBook(ItemStack book, PlayerEntity player)
private CommandSourceStack
a(crc arg0, arq arg1)
createCommandSourceStack(Player arg0, ServerLevel arg1)
method_17512(class_1657 arg0, class_3218 arg1)
m_roshqhkt(C_jzrpycqo arg0, C_bdwnwhiu arg1)
getCommandSource(PlayerEntity player, ServerWorld world)
getCommandSource(PlayerEntity player, ServerWorld world)
protected void
a(tz arg0, jg$a arg1)
loadAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11014(class_2487 arg0, class_7225$class_7874 arg1)
m_trzmaydr(C_hhlwcnih arg0, C_vtbxyypo$C_etmlgbig arg1)
readNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
readNbtImpl(NbtCompound arg0, HolderLookup$Provider arg1)
protected void
b(tz arg0, jg$a arg1)
saveAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11007(class_2487 arg0, class_7225$class_7874 arg1)
m_qopnimsa(C_hhlwcnih arg0, C_vtbxyypo$C_etmlgbig arg1)
writeNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
writeNbt(NbtCompound arg0, HolderLookup$Provider arg1)
public void
a()
clearContent()
method_5448()
m_rufrndtr()
clear()
clear()
public void
a(iu arg0, eah arg1)
preRemoveSideEffects(BlockPos arg0, BlockState arg1)
method_66473(class_2338 arg0, class_2680 arg1)
m_zbfmojnu(C_hynzadkk arg0, C_txtbiemp arg1)
onBlockReplaced(BlockPos arg0, BlockState arg1)
m_zbfmojnu(BlockPos arg0, BlockState arg1)
public AbstractContainerMenu
createMenu(int arg0, crb arg1, crc arg2)
createMenu(int arg0, Inventory arg1, Player arg2)
createMenu(int arg0, class_1661 arg1, class_1657 arg2)
createMenu(int arg0, PlayerInventory arg1, PlayerEntity arg2)
public Component
m_()
getDisplayName()
method_5476()
m_hyhtasei()
getDisplayName()
getDisplayName()
private static int
c(czd arg0)
getPageCount(ItemStack arg0)
method_57591(class_1799 arg0)
m_vzujzdhr(C_sddaxwyk arg0)
getPageCount(ItemStack stack)
getPageCount(ItemStack stack)