类 CreativeInventoryScreen.CreativeScreenHandler

  • 封闭类:
    CreativeInventoryScreen

    @Environment(CLIENT)
    public static class CreativeInventoryScreen.CreativeScreenHandler
    extends ScreenHandler
    Mappings:
    Namespace Name
    official eap$b
    intermediary net/minecraft/class_481$class_483
    named net/minecraft/client/gui/screen/ingame/CreativeInventoryScreen$CreativeScreenHandler
    • 字段详细资料

      • itemList

        public final DefaultedList<ItemStack> itemList
        Mappings:
        Namespace Name Mixin selector
        official k Leap$b;k:Lgn;
        intermediary field_2897 Lnet/minecraft/class_481$class_483;field_2897:Lnet/minecraft/class_2371;
        named itemList Lnet/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 l Leap$b;l:Lbll;
        intermediary field_29349 Lnet/minecraft/class_481$class_483;field_29349:Lnet/minecraft/class_1703;
        named field_29349 Lnet/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;)V
        intermediary <init> Lnet/minecraft/class_481$class_483;<init>(Lnet/minecraft/class_1657;)V
        named <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 a Lbll;a(Lbjf;)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
      • scrollItems

        public void scrollItems​(float position)
        Mappings:
        Namespace Name Mixin selector
        official a Leap$b;a(F)V
        intermediary method_2473 Lnet/minecraft/class_481$class_483;method_2473(F)V
        named scrollItems Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen$CreativeScreenHandler;scrollItems(F)V
      • shouldShowScrollbar

        public boolean shouldShowScrollbar()
        Mappings:
        Namespace Name Mixin selector
        official i Leap$b;i()Z
        intermediary method_2474 Lnet/minecraft/class_481$class_483;method_2474()Z
        named shouldShowScrollbar Lnet/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 b Lbll;b(Lbjf;I)Lbpr;
        intermediary method_7601 Lnet/minecraft/class_1703;method_7601(Lnet/minecraft/class_1657;I)Lnet/minecraft/class_1799;
        named transferSlot Lnet/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 a Lbll;a(Lbpr;Lbnc;)Z
        intermediary method_7613 Lnet/minecraft/class_1703;method_7613(Lnet/minecraft/class_1799;Lnet/minecraft/class_1735;)Z
        named canInsertIntoSlot Lnet/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 b Lbll;b(Lbnc;)Z
        intermediary method_7615 Lnet/minecraft/class_1703;method_7615(Lnet/minecraft/class_1735;)Z
        named canInsertIntoSlot Lnet/minecraft/screen/ScreenHandler;canInsertIntoSlot(Lnet/minecraft/screen/slot/Slot;)Z
      • getCursorStack

        public ItemStack getCursorStack()
        覆盖:
        getCursorStack 在类中 ScreenHandler
        Mappings:
        Namespace Name Mixin selector
        official f Lbll;f()Lbpr;
        intermediary method_34255 Lnet/minecraft/class_1703;method_34255()Lnet/minecraft/class_1799;
        named getCursorStack Lnet/minecraft/screen/ScreenHandler;getCursorStack()Lnet/minecraft/item/ItemStack;
      • setCursorStack

        public void setCursorStack​(ItemStack stack)
        覆盖:
        setCursorStack 在类中 ScreenHandler
        Mappings:
        Namespace Name Mixin selector
        official b Lbll;b(Lbpr;)V
        intermediary method_34254 Lnet/minecraft/class_1703;method_34254(Lnet/minecraft/class_1799;)V
        named setCursorStack Lnet/minecraft/screen/ScreenHandler;setCursorStack(Lnet/minecraft/item/ItemStack;)V