net.minecraft.world.level.block.entity

public class LecternBlockEntity

extends BlockEntity implements Clearable, MenuProvider

All mapped superinterfaces:

Clearable, MenuProvider, MenuConstructor

ced
net.minecraft.world.level.block.entity.LecternBlockEntity
net.minecraft.class_3722
net.minecraft.block.entity.LecternBlockEntity
net.minecraft.tileentity.LecternTileEntity
net.minecraft.server.v1_16_R1.TileEntityLectern

Field summary

Modifier and TypeField
private final Container
a
bookAccess
field_17386
inventory
field_214048_a
inventory
private final ContainerData
b
dataAccess
field_17387
propertyDelegate
field_214049_b
containerProperties
private ItemStack
c
book
field_17388
book
field_214050_c
book
private int
g
page
field_17389
currentPage
field_214051_g
page
private int
h
pageCount
field_17390
pageCount
field_214052_h
maxPage

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public ItemStack
f()
getBook()
method_17520()
getBook()
func_214033_c()
getBook()
public boolean
g()
hasBook()
method_17522()
hasBook()
func_214046_f()
hasBook()
public void
a(bki arg0)
setBook(ItemStack arg0)
method_17513(class_1799 arg0)
setBook(ItemStack book)
func_214045_a(ItemStack arg0)
setBook(ItemStack arg0)
private void
k()
onBookItemRemove()
method_17525()
onBookRemoved()
func_214042_s()
public void
a(bki arg0, bec arg1)
setBook(ItemStack arg0, Player arg1)
method_17514(class_1799 arg0, class_1657 arg1)
setBook(ItemStack book, PlayerEntity player)
func_214040_a(ItemStack arg0, PlayerEntity arg1)
private void
a(int arg0)
setPage(int arg0)
method_17511(int arg0)
setCurrentPage(int currentPage)
func_214035_a(int arg0)
setPage(int arg0)
public int
h()
getPage()
method_17523()
getCurrentPage()
func_214041_g()
getPage()
public int
j()
getRedstoneSignal()
method_17524()
getComparatorOutput()
func_214034_r()
private ItemStack
b(bki arg0, bec arg1)
resolveBook(ItemStack arg0, Player arg1)
method_17518(class_1799 arg0, class_1657 arg1)
resolveBook(ItemStack book, PlayerEntity player)
func_214047_b(ItemStack arg0, PlayerEntity arg1)
private CommandSourceStack
a(bec arg0)
createCommandSourceStack(Player arg0)
method_17512(class_1657 arg0)
getCommandSource(PlayerEntity player)
func_214039_a(PlayerEntity arg0)
public boolean
t()
onlyOpCanSetNbt()
method_11011()
copyItemDataRequiresOperator()
func_183000_F()
isFilteredNBT()
public void
a(cfj arg0, le arg1)
load(BlockState arg0, CompoundTag arg1)
method_11014(class_2680 arg0, class_2487 arg1)
fromTag(BlockState arg0, CompoundTag arg1)
func_230337_a_(BlockState arg0, CompoundNBT arg1)
load(IBlockData arg0, NBTTagCompound arg1)
public CompoundTag
a(le arg0)
save(CompoundTag arg0)
method_11007(class_2487 arg0)
toTag(CompoundTag arg0)
func_189515_b(CompoundNBT arg0)
save(NBTTagCompound arg0)
public void
aa_()
clearContent()
method_5448()
clear()
func_174888_l()
clear()
public AbstractContainerMenu
createMenu(int arg0, beb arg1, bec arg2)
createMenu(int arg0, Inventory arg1, Player arg2)
createMenu(int arg0, class_1661 arg1, class_1657 arg2)
createMenu(int arg0, PlayerInventory arg1, PlayerEntity arg2)
createMenu(int arg0, PlayerInventory arg1, PlayerEntity arg2)
public Component
d()
getDisplayName()
method_5476()
getDisplayName()
func_145748_c_()
getScoreboardDisplayName()