类 LecternScreenHandler
- java.lang.Object
-
- net.minecraft.screen.ScreenHandler
-
- net.minecraft.screen.LecternScreenHandler
-
public class LecternScreenHandler extends ScreenHandler
- Mappings:
Namespace Name official bmmintermediary net/minecraft/class_3916named net/minecraft/screen/LecternScreenHandler
-
-
字段概要
字段 修饰符和类型 字段 说明 static intfield_30820static intfield_30821static intfield_30822static intfield_30823private static intfield_30824private static intfield_30825private Inventoryinventoryprivate PropertyDelegatepropertyDelegate-
从类继承的字段 net.minecraft.screen.ScreenHandler
EMPTY_SPACE_SLOT_INDEX, field_30731, field_30732, field_30733, field_30734, field_30735, field_30736, field_30737, slots, syncId
-
-
构造器概要
构造器 构造器 说明 LecternScreenHandler(int syncId)LecternScreenHandler(int syncId, Inventory inventory, PropertyDelegate propertyDelegate)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleancanUse(PlayerEntity player)ItemStackgetBookItem()intgetPage()booleanonButtonClick(PlayerEntity player, int id)voidsetProperty(int id, int value)-
从类继承的方法 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_30824
private static final int field_30824
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official oLbmm;o:Iintermediary field_30824Lnet/minecraft/class_3916;field_30824:Inamed field_30824Lnet/minecraft/screen/LecternScreenHandler;field_30824:I
-
field_30825
private static final int field_30825
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official pLbmm;p:Iintermediary field_30825Lnet/minecraft/class_3916;field_30825:Inamed field_30825Lnet/minecraft/screen/LecternScreenHandler;field_30825:I
-
field_30820
public static final int field_30820
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official kLbmm;k:Iintermediary field_30820Lnet/minecraft/class_3916;field_30820:Inamed field_30820Lnet/minecraft/screen/LecternScreenHandler;field_30820:I
-
field_30821
public static final int field_30821
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official lLbmm;l:Iintermediary field_30821Lnet/minecraft/class_3916;field_30821:Inamed field_30821Lnet/minecraft/screen/LecternScreenHandler;field_30821:I
-
field_30822
public static final int field_30822
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official mLbmm;m:Iintermediary field_30822Lnet/minecraft/class_3916;field_30822:Inamed field_30822Lnet/minecraft/screen/LecternScreenHandler;field_30822:I
-
field_30823
public static final int field_30823
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official nLbmm;n:Iintermediary field_30823Lnet/minecraft/class_3916;field_30823:Inamed field_30823Lnet/minecraft/screen/LecternScreenHandler;field_30823:I
-
inventory
private final Inventory inventory
- Mappings:
Namespace Name Mixin selector official qLbmm;q:Laqz;intermediary field_17313Lnet/minecraft/class_3916;field_17313:Lnet/minecraft/class_1263;named inventoryLnet/minecraft/screen/LecternScreenHandler;inventory:Lnet/minecraft/inventory/Inventory;
-
propertyDelegate
private final PropertyDelegate propertyDelegate
- Mappings:
Namespace Name Mixin selector official rLbmm;r:Lblv;intermediary field_17314Lnet/minecraft/class_3916;field_17314:Lnet/minecraft/class_3913;named propertyDelegateLnet/minecraft/screen/LecternScreenHandler;propertyDelegate:Lnet/minecraft/screen/PropertyDelegate;
-
-
构造器详细资料
-
LecternScreenHandler
public LecternScreenHandler(int syncId)
- Mappings:
Namespace Name Mixin selector official <init>Lbmm;<init>(I)Vintermediary <init>Lnet/minecraft/class_3916;<init>(I)Vnamed <init>Lnet/minecraft/screen/LecternScreenHandler;<init>(I)V
-
LecternScreenHandler
public LecternScreenHandler(int syncId, Inventory inventory, PropertyDelegate propertyDelegate)- Mappings:
Namespace Name Mixin selector official <init>Lbmm;<init>(ILaqz;Lblv;)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
-
-
方法详细资料
-
onButtonClick
public boolean onButtonClick(PlayerEntity player, int id)
- 覆盖:
onButtonClick在类中ScreenHandler- Mappings:
Namespace Name Mixin selector official aLbll;a(Lbjf;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)- 覆盖:
setProperty在类中ScreenHandler- Mappings:
Namespace Name Mixin selector official aLbll;a(II)Vintermediary method_7606Lnet/minecraft/class_1703;method_7606(II)Vnamed setPropertyLnet/minecraft/screen/ScreenHandler;setProperty(II)V
-
canUse
public boolean canUse(PlayerEntity player)
- 指定者:
canUse在类中ScreenHandler- Mappings:
Namespace Name Mixin selector official aLbll;a(Lbjf;)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
public ItemStack getBookItem()
- Mappings:
Namespace Name Mixin selector official iLbmm;i()Lbpr;intermediary method_17418Lnet/minecraft/class_3916;method_17418()Lnet/minecraft/class_1799;named getBookItemLnet/minecraft/screen/LecternScreenHandler;getBookItem()Lnet/minecraft/item/ItemStack;
-
getPage
public int getPage()
- Mappings:
Namespace Name Mixin selector official jLbmm;j()Iintermediary method_17419Lnet/minecraft/class_3916;method_17419()Inamed getPageLnet/minecraft/screen/LecternScreenHandler;getPage()I
-
-