net.minecraft.world.level.block.entity

public class LecternBlockEntity

extends BlockEntity implements Clearable, MenuProvider

All mapped superinterfaces:

Clearable, MenuProvider, MenuConstructor

cjl
net.minecraft.world.level.block.entity.LecternBlockEntity
net.minecraft.class_3722
net.minecraft.unmapped.C_cctlzavr
net.minecraft.block.entity.LecternBlockEntity
net.minecraft.src.C_2016_
net.minecraft.world.level.block.entity.TileEntityLectern

Field summary

Modifier and TypeField
public static final int
a
DATA_PAGE
field_31348
f_rvhjxmgp
field_31348
f_155617_
public static final int
b
NUM_DATA
field_31349
f_iecawanc
field_31349
f_155618_
public static final int
c
SLOT_BOOK
field_31350
f_rxxrxiij
field_31350
f_155619_
public static final int
d
NUM_SLOTS
field_31351
f_sguoswdq
field_31351
f_155620_
private final Container
e
bookAccess
field_17386
f_oqozqfeg
inventory
f_59525_
private final ContainerData
f
dataAccess
field_17387
f_zjklaavi
propertyDelegate
f_59526_
ItemStack
g
book
field_17388
f_oxehbgik
book
f_59527_
int
h
page
field_17389
f_ihinhmno
currentPage
f_59528_
private int
i
pageCount
field_17390
f_uphnhnow
pageCount
f_59529_

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
public ItemStack
f()
getBook()
method_17520()
m_zebmjqiy()
getBook()
m_59566_()
getBook()
public boolean
g()
hasBook()
method_17522()
m_svrokkmm()
hasBook()
m_59567_()
hasBook()
public void
a(bqq arg0)
setBook(ItemStack arg0)
method_17513(class_1799 arg0)
m_ztwwwtze(C_sddaxwyk arg0)
setBook(ItemStack book)
m_59536_(C_1391_ arg0)
setBook(ItemStack arg0)
void
j()
onBookItemRemove()
method_17525()
m_fbyfypig()
onBookRemoved()
m_59570_()
public void
a(bqq arg0, bke 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)
m_59538_(C_1391_ p_59540_, C_1141_ arg1)
void
a(int arg0)
setPage(int arg0)
method_17511(int arg0)
m_xnnurfov(int arg0)
setCurrentPage(int currentPage)
m_59532_(int arg0)
setPage(int arg0)
public int
h()
getPage()
method_17523()
m_ebyqpjmq()
getCurrentPage()
m_59568_()
getPage()
public int
i()
getRedstoneSignal()
method_17524()
m_aqqopfmy()
getComparatorOutput()
m_59569_()
private ItemStack
b(bqq arg0, bke 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)
m_59554_(C_1391_ p_59556_, C_1141_ arg1)
private CommandSourceStack
a(bke arg0)
createCommandSourceStack(Player arg0)
method_17512(class_1657 arg0)
m_roshqhkt(C_jzrpycqo arg0)
getCommandSource(PlayerEntity player)
m_59534_(C_1141_ arg0)
public boolean
q()
onlyOpCanSetNbt()
method_11011()
m_jlguerjg()
copyItemDataRequiresOperator()
m_6326_()
isFilteredNBT()
public void
a(na arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
m_dfzdncts(C_hhlwcnih arg0)
readNbt(NbtCompound arg0)
m_142466_(C_4917_ arg0)
load(NBTTagCompound arg0)
public CompoundTag
b(na arg0)
save(CompoundTag arg0)
method_11007(class_2487 arg0)
m_fzlqwslp(C_hhlwcnih arg0)
writeNbt(NbtCompound arg0)
m_6945_(C_4917_ arg0)
save(NBTTagCompound arg0)
public void
a()
clearContent()
method_5448()
m_rufrndtr()
clear()
m_6211_()
clear()
public AbstractContainerMenu
createMenu(int arg0, bkd arg1, bke arg2)
createMenu(int arg0, Inventory arg1, Player arg2)
createMenu(int arg0, class_1661 arg1, class_1657 arg2)
createMenu(int arg0, PlayerInventory arg1, PlayerEntity arg2)
m_7208_(int p_59563_, C_1140_ p_59564_, C_1141_ arg2)
public Component
B_()
getDisplayName()
method_5476()
m_hyhtasei()
getDisplayName()
m_5446_()
getScoreboardDisplayName()