Package net.minecraft.screen
Class LecternScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.LecternScreenHandler
public class LecternScreenHandler extends ScreenHandler
- Mappings:
Namespace Name official bkr
intermediary net/minecraft/class_3916
named net/minecraft/screen/LecternScreenHandler
-
Field Summary
Fields Modifier and Type Field Description private Inventory
inventory
private PropertyDelegate
propertyDelegate
Fields inherited from class net.minecraft.screen.ScreenHandler
slots, syncId
-
Constructor Summary
Constructors Constructor Description LecternScreenHandler(int syncId)
LecternScreenHandler(int syncId, Inventory inventory, PropertyDelegate propertyDelegate)
-
Method Summary
Modifier and Type Method Description boolean
canUse(PlayerEntity player)
ItemStack
getBookItem()
int
getPage()
boolean
onButtonClick(PlayerEntity player, int id)
void
setProperty(int id, int value)
Methods inherited from class net.minecraft.screen.ScreenHandler
addListener, addProperties, addProperty, addSlot, calculateComparatorOutput, calculateComparatorOutput, calculateStackSize, canInsertIntoSlot, canInsertIntoSlot, canInsertItemIntoSlot, canUse, checkDataCount, checkSize, close, dropInventory, endQuickCraft, getNextActionId, getSlot, getStacks, getType, insertItem, isNotRestricted, onContentChanged, onSlotClick, packQuickCraftData, removeListener, sendContentUpdates, setPlayerRestriction, setStackInSlot, shouldQuickCraftContinue, transferSlot, unpackQuickCraftButton, unpackQuickCraftStage, updateSlotStacks
-
Field Details
-
inventory
- Mappings:
Namespace Name Mixin selector official c
Lbkr;c:Lapj;
intermediary field_17313
Lnet/minecraft/class_3916;field_17313:Lnet/minecraft/class_1263;
named inventory
Lnet/minecraft/screen/LecternScreenHandler;inventory:Lnet/minecraft/inventory/Inventory;
-
propertyDelegate
- Mappings:
Namespace Name Mixin selector official d
Lbkr;d:Lbkb;
intermediary field_17314
Lnet/minecraft/class_3916;field_17314:Lnet/minecraft/class_3913;
named propertyDelegate
Lnet/minecraft/screen/LecternScreenHandler;propertyDelegate:Lnet/minecraft/screen/PropertyDelegate;
-
-
Constructor Details
-
LecternScreenHandler
public LecternScreenHandler(int syncId)- Mappings:
Namespace Name Mixin selector official <init>
Lbkr;<init>(I)V
intermediary <init>
Lnet/minecraft/class_3916;<init>(I)V
named <init>
Lnet/minecraft/screen/LecternScreenHandler;<init>(I)V
-
LecternScreenHandler
- Mappings:
Namespace Name Mixin selector official <init>
Lbkr;<init>(ILapj;Lbkb;)V
intermediary <init>
Lnet/minecraft/class_3916;<init>(ILnet/minecraft/class_1263;Lnet/minecraft/class_3913;)V
named <init>
Lnet/minecraft/screen/LecternScreenHandler;<init>(ILnet/minecraft/inventory/Inventory;Lnet/minecraft/screen/PropertyDelegate;)V
-
-
Method Details
-
onButtonClick
- Overrides:
onButtonClick
in classScreenHandler
- Mappings:
Namespace Name Mixin selector official a
Lbjr;a(Lbhl;I)Z
intermediary method_7604
Lnet/minecraft/class_1703;method_7604(Lnet/minecraft/class_1657;I)Z
named onButtonClick
Lnet/minecraft/screen/ScreenHandler;onButtonClick(Lnet/minecraft/entity/player/PlayerEntity;I)Z
-
setProperty
public void setProperty(int id, int value)- Overrides:
setProperty
in classScreenHandler
- Mappings:
Namespace Name Mixin selector official a
Lbjr;a(II)V
intermediary method_7606
Lnet/minecraft/class_1703;method_7606(II)V
named setProperty
Lnet/minecraft/screen/ScreenHandler;setProperty(II)V
-
canUse
- Specified by:
canUse
in classScreenHandler
- Mappings:
Namespace Name Mixin selector official a
Lbjr;a(Lbhl;)Z
intermediary method_7597
Lnet/minecraft/class_1703;method_7597(Lnet/minecraft/class_1657;)Z
named canUse
Lnet/minecraft/screen/ScreenHandler;canUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
getBookItem
- Mappings:
Namespace Name Mixin selector official e
Lbkr;e()Lbnv;
intermediary method_17418
Lnet/minecraft/class_3916;method_17418()Lnet/minecraft/class_1799;
named getBookItem
Lnet/minecraft/screen/LecternScreenHandler;getBookItem()Lnet/minecraft/item/ItemStack;
-
getPage
- Mappings:
Namespace Name Mixin selector official f
Lbkr;f()I
intermediary method_17419
Lnet/minecraft/class_3916;method_17419()I
named getPage
Lnet/minecraft/screen/LecternScreenHandler;getPage()I
-