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 blmintermediary net/minecraft/class_3916named net/minecraft/screen/LecternScreenHandler
-
Field Summary
Fields Modifier and Type Field Description private Inventoryinventoryprivate PropertyDelegatepropertyDelegateFields 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 booleancanUse(PlayerEntity player)ItemStackgetBookItem()intgetPage()booleanonButtonClick(PlayerEntity player, int id)voidsetProperty(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, getSlot, getStacks, getType, insertItem, method_34245, method_34247, method_34248, method_34250, method_34252, method_34254, method_34255, method_34256, method_34257, onContentChanged, onSlotClick, packQuickCraftData, removeListener, sendContentUpdates, setStackInSlot, shouldQuickCraftContinue, transferSlot, unpackQuickCraftButton, unpackQuickCraftStage, updateSlotStacks
-
Field Details
-
inventory
- Mappings:
Namespace Name Mixin selector official cLblm;c:Laqc;intermediary field_17313Lnet/minecraft/class_3916;field_17313:Lnet/minecraft/class_1263;named inventoryLnet/minecraft/screen/LecternScreenHandler;inventory:Lnet/minecraft/inventory/Inventory;
-
propertyDelegate
- Mappings:
Namespace Name Mixin selector official dLblm;d:Lbkv;intermediary field_17314Lnet/minecraft/class_3916;field_17314:Lnet/minecraft/class_3913;named propertyDelegateLnet/minecraft/screen/LecternScreenHandler;propertyDelegate:Lnet/minecraft/screen/PropertyDelegate;
-
-
Constructor Details
-
LecternScreenHandler
public LecternScreenHandler(int syncId)- Mappings:
Namespace Name Mixin selector official <init>Lblm;<init>(I)Vintermediary <init>Lnet/minecraft/class_3916;<init>(I)Vnamed <init>Lnet/minecraft/screen/LecternScreenHandler;<init>(I)V
-
LecternScreenHandler
- Mappings:
Namespace Name Mixin selector official <init>Lblm;<init>(ILaqc;Lbkv;)Vintermediary <init>Lnet/minecraft/class_3916;<init>(ILnet/minecraft/class_1263;Lnet/minecraft/class_3913;)Vnamed <init>Lnet/minecraft/screen/LecternScreenHandler;<init>(ILnet/minecraft/inventory/Inventory;Lnet/minecraft/screen/PropertyDelegate;)V
-
-
Method Details
-
onButtonClick
- Overrides:
onButtonClickin classScreenHandler- Mappings:
Namespace Name Mixin selector official aLbkl;a(Lbif;I)Zintermediary method_7604Lnet/minecraft/class_1703;method_7604(Lnet/minecraft/class_1657;I)Znamed onButtonClickLnet/minecraft/screen/ScreenHandler;onButtonClick(Lnet/minecraft/entity/player/PlayerEntity;I)Z
-
setProperty
public void setProperty(int id, int value)- Overrides:
setPropertyin classScreenHandler- Mappings:
Namespace Name Mixin selector official aLbkl;a(II)Vintermediary method_7606Lnet/minecraft/class_1703;method_7606(II)Vnamed setPropertyLnet/minecraft/screen/ScreenHandler;setProperty(II)V
-
canUse
- Specified by:
canUsein classScreenHandler- Mappings:
Namespace Name Mixin selector official aLbkl;a(Lbif;)Zintermediary method_7597Lnet/minecraft/class_1703;method_7597(Lnet/minecraft/class_1657;)Znamed canUseLnet/minecraft/screen/ScreenHandler;canUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
getBookItem
- Mappings:
Namespace Name Mixin selector official iLblm;i()Lboq;intermediary method_17418Lnet/minecraft/class_3916;method_17418()Lnet/minecraft/class_1799;named getBookItemLnet/minecraft/screen/LecternScreenHandler;getBookItem()Lnet/minecraft/item/ItemStack;
-
getPage
- Mappings:
Namespace Name Mixin selector official jLblm;j()Iintermediary method_17419Lnet/minecraft/class_3916;method_17419()Inamed getPageLnet/minecraft/screen/LecternScreenHandler;getPage()I
-