net.minecraft.screen

public class LecternScreenHandler

extends ScreenHandler

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

Field summary

Modifier and TypeField
private static final int
DATA_COUNT
DATA_COUNT
field_30824
field_30824
private static final int
SLOT_COUNT
SLOT_COUNT
field_30825
field_30825
public static final int
BUTTON_PREV_PAGE
BUTTON_PREV_PAGE
field_30820
PREVIOUS_PAGE_BUTTON_ID
public static final int
BUTTON_NEXT_PAGE
BUTTON_NEXT_PAGE
field_30821
NEXT_PAGE_BUTTON_ID
public static final int
BUTTON_TAKE_BOOK
BUTTON_TAKE_BOOK
field_30822
TAKE_BOOK_BUTTON_ID
public static final int
BUTTON_PAGE_JUMP_RANGE_START
BUTTON_PAGE_JUMP_RANGE_START
field_30823
BASE_JUMP_TO_PAGE_BUTTON_ID
private final Inventory
lectern
lectern
field_17313
inventory
private final PropertyDelegate
lecternData
lecternData
field_17314
propertyDelegate

Constructor summary

ModifierConstructor
public (int syncId)
public (int syncId, Inventory inventory, PropertyDelegate propertyDelegate)

Method summary

Modifier and TypeMethod
public boolean
clickMenuButton(Player player, int buttonId)
clickMenuButton(Player player, int buttonId)
method_7604(class_1657 arg0, int arg1)
onButtonClick(PlayerEntity arg0, int arg1)
public ItemStack
quickMoveStack(Player player, int slotIndex)
quickMoveStack(Player player, int slotIndex)
method_7601(class_1657 arg0, int arg1)
quickMove(PlayerEntity arg0, int arg1)
public void
setData(int id, int value)
setData(int id, int value)
method_7606(int arg0, int arg1)
setProperty(int arg0, int arg1)
public boolean
stillValid(Player player)
stillValid(Player player)
method_7597(class_1657 arg0)
canUse(PlayerEntity arg0)
public ItemStack
getBook()
getBook()
method_17418()
getBookItem()
public int
getPage()
getPage()
method_17419()
getPage()