类 CreativeInventoryScreen.CreativeScreenHandler
- java.lang.Object
-
- net.minecraft.screen.ScreenHandler
-
- net.minecraft.client.gui.screen.ingame.CreativeInventoryScreen.CreativeScreenHandler
-
@Environment(CLIENT) public static class CreativeInventoryScreen.CreativeScreenHandler extends ScreenHandler
- Mappings:
Namespace Name official eap$bintermediary net/minecraft/class_481$class_483named net/minecraft/client/gui/screen/ingame/CreativeInventoryScreen$CreativeScreenHandler
-
-
字段概要
字段 修饰符和类型 字段 说明 private ScreenHandlerfield_29349DefaultedList<ItemStack>itemList-
从类继承的字段 net.minecraft.screen.ScreenHandler
EMPTY_SPACE_SLOT_INDEX, field_30731, field_30732, field_30733, field_30734, field_30735, field_30736, field_30737, slots, syncId
-
-
构造器概要
构造器 构造器 说明 CreativeScreenHandler(PlayerEntity player)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleancanInsertIntoSlot(ItemStack stack, Slot slot)booleancanInsertIntoSlot(Slot slot)booleancanUse(PlayerEntity player)ItemStackgetCursorStack()voidscrollItems(float position)voidsetCursorStack(ItemStack stack)booleanshouldShowScrollbar()ItemStacktransferSlot(PlayerEntity player, int index)-
从类继承的方法 net.minecraft.screen.ScreenHandler
addListener, addProperties, addProperty, addSlot, calculateComparatorOutput, calculateComparatorOutput, calculateStackSize, canInsertItemIntoSlot, canUse, checkDataCount, checkSize, close, copySharedSlots, disableSyncing, dropInventory, enableSyncing, endQuickCraft, getSlot, getStacks, getType, insertItem, onButtonClick, onContentChanged, onSlotClick, packQuickCraftData, removeListener, sendContentUpdates, setPreviousCursorStack, setPreviousTrackedSlot, setProperty, setStackInSlot, shouldQuickCraftContinue, syncState, unpackQuickCraftButton, unpackQuickCraftStage, updateSlotStacks, updateSyncHandler
-
-
-
-
字段详细资料
-
itemList
public final DefaultedList<ItemStack> itemList
- Mappings:
Namespace Name Mixin selector official kLeap$b;k:Lgn;intermediary field_2897Lnet/minecraft/class_481$class_483;field_2897:Lnet/minecraft/class_2371;named itemListLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen$CreativeScreenHandler;itemList:Lnet/minecraft/util/collection/DefaultedList;
-
field_29349
private final ScreenHandler field_29349
- Mappings:
Namespace Name Mixin selector official lLeap$b;l:Lbll;intermediary field_29349Lnet/minecraft/class_481$class_483;field_29349:Lnet/minecraft/class_1703;named field_29349Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen$CreativeScreenHandler;field_29349:Lnet/minecraft/screen/ScreenHandler;
-
-
构造器详细资料
-
CreativeScreenHandler
public CreativeScreenHandler(PlayerEntity player)
- Mappings:
Namespace Name Mixin selector official <init>Leap$b;<init>(Lbjf;)Vintermediary <init>Lnet/minecraft/class_481$class_483;<init>(Lnet/minecraft/class_1657;)Vnamed <init>Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen$CreativeScreenHandler;<init>(Lnet/minecraft/entity/player/PlayerEntity;)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
-
scrollItems
public void scrollItems(float position)
- Mappings:
Namespace Name Mixin selector official aLeap$b;a(F)Vintermediary method_2473Lnet/minecraft/class_481$class_483;method_2473(F)Vnamed scrollItemsLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen$CreativeScreenHandler;scrollItems(F)V
-
shouldShowScrollbar
public boolean shouldShowScrollbar()
- Mappings:
Namespace Name Mixin selector official iLeap$b;i()Zintermediary method_2474Lnet/minecraft/class_481$class_483;method_2474()Znamed shouldShowScrollbarLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen$CreativeScreenHandler;shouldShowScrollbar()Z
-
transferSlot
public ItemStack transferSlot(PlayerEntity player, int index)
- 覆盖:
transferSlot在类中ScreenHandler- Mappings:
Namespace Name Mixin selector official bLbll;b(Lbjf;I)Lbpr;intermediary method_7601Lnet/minecraft/class_1703;method_7601(Lnet/minecraft/class_1657;I)Lnet/minecraft/class_1799;named transferSlotLnet/minecraft/screen/ScreenHandler;transferSlot(Lnet/minecraft/entity/player/PlayerEntity;I)Lnet/minecraft/item/ItemStack;
-
canInsertIntoSlot
public boolean canInsertIntoSlot(ItemStack stack, Slot slot)
- 覆盖:
canInsertIntoSlot在类中ScreenHandler- Mappings:
Namespace Name Mixin selector official aLbll;a(Lbpr;Lbnc;)Zintermediary method_7613Lnet/minecraft/class_1703;method_7613(Lnet/minecraft/class_1799;Lnet/minecraft/class_1735;)Znamed canInsertIntoSlotLnet/minecraft/screen/ScreenHandler;canInsertIntoSlot(Lnet/minecraft/item/ItemStack;Lnet/minecraft/screen/slot/Slot;)Z
-
canInsertIntoSlot
public boolean canInsertIntoSlot(Slot slot)
- 覆盖:
canInsertIntoSlot在类中ScreenHandler- Mappings:
Namespace Name Mixin selector official bLbll;b(Lbnc;)Zintermediary method_7615Lnet/minecraft/class_1703;method_7615(Lnet/minecraft/class_1735;)Znamed canInsertIntoSlotLnet/minecraft/screen/ScreenHandler;canInsertIntoSlot(Lnet/minecraft/screen/slot/Slot;)Z
-
getCursorStack
public ItemStack getCursorStack()
- 覆盖:
getCursorStack在类中ScreenHandler- Mappings:
Namespace Name Mixin selector official fLbll;f()Lbpr;intermediary method_34255Lnet/minecraft/class_1703;method_34255()Lnet/minecraft/class_1799;named getCursorStackLnet/minecraft/screen/ScreenHandler;getCursorStack()Lnet/minecraft/item/ItemStack;
-
setCursorStack
public void setCursorStack(ItemStack stack)
- 覆盖:
setCursorStack在类中ScreenHandler- Mappings:
Namespace Name Mixin selector official bLbll;b(Lbpr;)Vintermediary method_34254Lnet/minecraft/class_1703;method_34254(Lnet/minecraft/class_1799;)Vnamed setCursorStackLnet/minecraft/screen/ScreenHandler;setCursorStack(Lnet/minecraft/item/ItemStack;)V
-
-