Package net.minecraft.screen
Class LecternScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.LecternScreenHandler
- Mappings:
Namespace Name official bnk
intermediary net/minecraft/class_3916
named net/minecraft/screen/LecternScreenHandler
-
Field Summary
Modifier and TypeFieldDescriptionstatic int
static int
static int
static int
private static int
private static int
private Inventory
private PropertyDelegate
Fields inherited from class net.minecraft.screen.ScreenHandler
EMPTY_SPACE_SLOT_INDEX, field_30731, field_30732, field_30733, field_30734, field_30735, field_30736, field_30737, slots, syncId
-
Constructor Summary
ConstructorDescriptionLecternScreenHandler(int syncId)
LecternScreenHandler(int syncId, Inventory inventory, PropertyDelegate propertyDelegate)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canUse(PlayerEntity player)
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, copySharedSlots, disableSyncing, dropInventory, enableSyncing, endQuickCraft, getCursorStack, getSlot, getStacks, getType, insertItem, onContentChanged, onSlotClick, packQuickCraftData, removeListener, sendContentUpdates, setCursorStack, setPreviousCursorStack, setPreviousTrackedSlot, setStackInSlot, shouldQuickCraftContinue, syncState, transferSlot, unpackQuickCraftButton, unpackQuickCraftStage, updateSlotStacks, updateSyncHandler
-
Field Details
-
field_30824
private static final int field_30824- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official o
Lbnk;o:I
intermediary field_30824
Lnet/minecraft/class_3916;field_30824:I
named field_30824
Lnet/minecraft/screen/LecternScreenHandler;field_30824:I
-
field_30825
private static final int field_30825- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official p
Lbnk;p:I
intermediary field_30825
Lnet/minecraft/class_3916;field_30825:I
named field_30825
Lnet/minecraft/screen/LecternScreenHandler;field_30825:I
-
field_30820
public static final int field_30820- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official k
Lbnk;k:I
intermediary field_30820
Lnet/minecraft/class_3916;field_30820:I
named field_30820
Lnet/minecraft/screen/LecternScreenHandler;field_30820:I
-
field_30821
public static final int field_30821- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official l
Lbnk;l:I
intermediary field_30821
Lnet/minecraft/class_3916;field_30821:I
named field_30821
Lnet/minecraft/screen/LecternScreenHandler;field_30821:I
-
field_30822
public static final int field_30822- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official m
Lbnk;m:I
intermediary field_30822
Lnet/minecraft/class_3916;field_30822:I
named field_30822
Lnet/minecraft/screen/LecternScreenHandler;field_30822:I
-
field_30823
public static final int field_30823- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official n
Lbnk;n:I
intermediary field_30823
Lnet/minecraft/class_3916;field_30823:I
named field_30823
Lnet/minecraft/screen/LecternScreenHandler;field_30823:I
-
inventory
- Mappings:
Namespace Name Mixin selector official q
Lbnk;q:Lart;
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 r
Lbnk;r:Lbmt;
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>
Lbnk;<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>
Lbnk;<init>(ILart;Lbmt;)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
Lbmj;a(Lbkd;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
Lbmj;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
Lbmj;a(Lbkd;)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 i
Lbnk;i()Lbqp;
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
public int getPage()- Mappings:
Namespace Name Mixin selector official j
Lbnk;j()I
intermediary method_17419
Lnet/minecraft/class_3916;method_17419()I
named getPage
Lnet/minecraft/screen/LecternScreenHandler;getPage()I
-