net.minecraft.world.level.block.entity

public class LecternBlockEntity

extends BlockEntity implements Clearable, MenuProvider

All mapped superinterfaces:

Clearable, MenuProvider, MenuConstructor

bxd
net.minecraft.world.level.block.entity.LecternBlockEntity
net.minecraft.class_3722
net.minecraft.block.entity.LecternBlockEntity
net.minecraft.tileentity.LecternTileEntity
net.minecraft.server.v1_15_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(ben 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(ben arg0, ayj 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(ben arg0, ayj 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(ayj arg0)
createCommandSourceStack(Player arg0)
method_17512(class_1657 arg0)
getCommandSource(PlayerEntity player)
func_214039_a(PlayerEntity arg0)
public boolean
t()
onlyOpCanSetNbt()
method_11011()
shouldNotCopyTagFromItem()
func_183000_F()
isFilteredNBT()
public void
a(jt arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
fromTag(CompoundTag arg0)
func_145839_a(CompoundNBT arg0)
load(NBTTagCompound arg0)
public CompoundTag
b(jt arg0)
save(CompoundTag arg0)
method_11007(class_2487 arg0)
toTag(CompoundTag arg0)
func_189515_b(CompoundNBT arg0)
save(NBTTagCompound arg0)
public void
N_()
clearContent()
method_5448()
clear()
func_174888_l()
clear()
public AbstractContainerMenu
createMenu(int arg0, ayi arg1, ayj 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()