Class CreativeInventoryScreen.CreativeScreenHandler

java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.client.gui.screen.ingame.CreativeInventoryScreen.CreativeScreenHandler
Enclosing class:
CreativeInventoryScreen

@Environment(CLIENT) static class CreativeInventoryScreen.CreativeScreenHandler extends ScreenHandler
Mappings:
Namespace Name
official bga$a
intermediary net/minecraft/class_415$class_416
named net/minecraft/client/gui/screen/ingame/CreativeInventoryScreen$CreativeScreenHandler
  • Field Details

    • itemList

      public List<ItemStack> itemList
      Mappings:
      Namespace Name Mixin selector
      official a Lbga$a;a:Ljava/util/List;
      intermediary field_1384 Lnet/minecraft/class_415$class_416;field_1384:Ljava/util/List;
      named itemList Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen$CreativeScreenHandler;itemList:Ljava/util/List;
  • Constructor Details

    • CreativeScreenHandler

      public CreativeScreenHandler(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbga$a;<init>(Lzj;)V
      intermediary <init> Lnet/minecraft/class_415$class_416;<init>(Lnet/minecraft/class_988;)V
      named <init> Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen$CreativeScreenHandler;<init>(Lnet/minecraft/entity/player/PlayerEntity;)V
  • Method Details

    • canUse

      public boolean canUse(PlayerEntity player)
      Specified by:
      canUse in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official a Laau;a(Lzj;)Z
      intermediary method_3269 Lnet/minecraft/class_1002;method_3269(Lnet/minecraft/class_988;)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 Lbga$a;a(F)V
      intermediary method_1152 Lnet/minecraft/class_415$class_416;method_1152(F)V
      named scrollItems Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen$CreativeScreenHandler;scrollItems(F)V
    • isFull

      public boolean isFull()
      Mappings:
      Namespace Name Mixin selector
      official e Lbga$a;e()Z
      intermediary method_1153 Lnet/minecraft/class_415$class_416;method_1153()Z
      named isFull Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen$CreativeScreenHandler;isFull()Z
    • onSlotClick

      protected void onSlotClick(int slotId, int clickData, boolean bool, PlayerEntity player)
      Overrides:
      onSlotClick in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official a Laau;a(IIZLzj;)V
      intermediary method_3267 Lnet/minecraft/class_1002;method_3267(IIZLnet/minecraft/class_988;)V
      named onSlotClick Lnet/minecraft/screen/ScreenHandler;onSlotClick(IIZLnet/minecraft/entity/player/PlayerEntity;)V
    • transferSlot

      @Nullable public ItemStack transferSlot(PlayerEntity player, int invSlot)
      Overrides:
      transferSlot in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official b Laau;b(Lzj;I)Ladq;
      intermediary method_3265 Lnet/minecraft/class_1002;method_3265(Lnet/minecraft/class_988;I)Lnet/minecraft/class_1071;
      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)
      Overrides:
      canInsertIntoSlot in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official a Laau;a(Ladq;Labt;)Z
      intermediary method_5449 Lnet/minecraft/class_1002;method_5449(Lnet/minecraft/class_1071;Lnet/minecraft/class_1026;)Z
      named canInsertIntoSlot Lnet/minecraft/screen/ScreenHandler;canInsertIntoSlot(Lnet/minecraft/item/ItemStack;Lnet/minecraft/inventory/slot/Slot;)Z
    • canInsertIntoSlot

      public boolean canInsertIntoSlot(Slot slot)
      Overrides:
      canInsertIntoSlot in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official b Laau;b(Labt;)Z
      intermediary method_5452 Lnet/minecraft/class_1002;method_5452(Lnet/minecraft/class_1026;)Z
      named canInsertIntoSlot Lnet/minecraft/screen/ScreenHandler;canInsertIntoSlot(Lnet/minecraft/inventory/slot/Slot;)Z