net.minecraft.world.inventory

public class LecternMenu

extends AbstractContainerMenu

cui
net.minecraft.world.inventory.LecternMenu
net.minecraft.class_3916
net.minecraft.screen.LecternScreenHandler
net.minecraft.world.inventory.ContainerLectern

Field summary

Modifier and TypeField
private static final int
q
DATA_COUNT
field_30824
field_30824
private static final int
r
SLOT_COUNT
field_30825
field_30825
public static final int
m
BUTTON_PREV_PAGE
field_30820
PREVIOUS_PAGE_BUTTON_ID
public static final int
n
BUTTON_NEXT_PAGE
field_30821
NEXT_PAGE_BUTTON_ID
public static final int
o
BUTTON_TAKE_BOOK
field_30822
TAKE_BOOK_BUTTON_ID
public static final int
p
BUTTON_PAGE_JUMP_RANGE_START
field_30823
BASE_JUMP_TO_PAGE_BUTTON_ID
private final Container
s
lectern
field_17313
inventory
private final ContainerData
t
lecternData
field_17314
propertyDelegate

Constructor summary

ModifierConstructor
public (int syncId)
public (int syncId, Container inventory, ContainerData propertyDelegate)

Method summary

Modifier and TypeMethod
public boolean
a(cpx arg0, int arg1)
clickMenuButton(Player arg0, int arg1)
method_7604(class_1657 arg0, int arg1)
onButtonClick(PlayerEntity arg0, int arg1)
public ItemStack
b(cpx arg0, int arg1)
quickMoveStack(Player arg0, int arg1)
method_7601(class_1657 arg0, int arg1)
quickMove(PlayerEntity arg0, int arg1)
public void
b(int arg0, int arg1)
setData(int arg0, int arg1)
method_7606(int arg0, int arg1)
setProperty(int arg0, int arg1)
public boolean
b(cpx arg0)
stillValid(Player arg0)
method_7597(class_1657 arg0)
canUse(PlayerEntity arg0)
public ItemStack
l()
getBook()
method_17418()
getBookItem()
public int
m()
getPage()
method_17419()
getPage()