Class ScreenHandler

java.lang.Object
net.minecraft.screen.ScreenHandler
Direct Known Subclasses:
CraftingScreenHandler, DispenserScreenHandler, FurnaceScreenHandler, GenericContainerScreenHandler, PlayerScreenHandler

public abstract class ScreenHandler extends Object
Mappings:
Namespace Name
intermediary net/minecraft/class_71
glue class_94
server cl
client dw
named net/minecraft/screen/ScreenHandler
  • Field Details

    • trackedStacks

      public List trackedStacks
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2733 Lnet/minecraft/class_71;field_2733:Ljava/util/List;
      glue field_207 Lclass_94;field_207:Ljava/util/List;
      server d Lcl;d:Ljava/util/List;
      client d Ldw;d:Ljava/util/List;
      named trackedStacks Lnet/minecraft/screen/ScreenHandler;trackedStacks:Ljava/util/List;
    • slots

      public List slots
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2734 Lnet/minecraft/class_71;field_2734:Ljava/util/List;
      glue field_208 Lclass_94;field_208:Ljava/util/List;
      server e Lcl;e:Ljava/util/List;
      client e Ldw;e:Ljava/util/List;
      named slots Lnet/minecraft/screen/ScreenHandler;slots:Ljava/util/List;
    • syncId

      public int syncId
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2735 Lnet/minecraft/class_71;field_2735:I
      glue field_209 Lclass_94;field_209:I
      server f Lcl;f:I
      client f Ldw;f:I
      named syncId Lnet/minecraft/screen/ScreenHandler;syncId:I
    • revision

      private short revision
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2731 Lnet/minecraft/class_71;field_2731:S
      glue field_205 Lclass_94;field_205:S
      server a Lcl;a:S
      client a Ldw;a:S
      named revision Lnet/minecraft/screen/ScreenHandler;revision:S
    • listeners

      protected List listeners
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2736 Lnet/minecraft/class_71;field_2736:Ljava/util/List;
      glue field_210 Lclass_94;field_210:Ljava/util/List;
      server g Lcl;g:Ljava/util/List;
      client g Ldw;g:Ljava/util/List;
      named listeners Lnet/minecraft/screen/ScreenHandler;listeners:Ljava/util/List;
    • field_2732

      private Set field_2732
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2732 Lnet/minecraft/class_71;field_2732:Ljava/util/Set;
      glue field_206 Lclass_94;field_206:Ljava/util/Set;
      server b Lcl;b:Ljava/util/Set;
      client b Ldw;b:Ljava/util/Set;
      named field_2732 Lnet/minecraft/screen/ScreenHandler;field_2732:Ljava/util/Set;
  • Constructor Details

    • ScreenHandler

      public ScreenHandler()
  • Method Details

    • addSlot

      protected void addSlot(Slot slot)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2079 Lnet/minecraft/class_71;method_2079(Lnet/minecraft/class_133;)V
      glue method_289 Lclass_94;method_289(Lclass_170;)V
      server a Lcl;a(Lel;)V
      client a Ldw;a(Lgp;)V
      named addSlot Lnet/minecraft/screen/ScreenHandler;addSlot(Lnet/minecraft/screen/slot/Slot;)V
    • addListener

      @Environment(SERVER) public void addListener(class_633 listener)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2076 Lnet/minecraft/class_71;method_2076(Lnet/minecraft/class_633;)V
      glue method_105 Lclass_94;method_105(Lclass_99;)V
      server a Lcl;a(Lcp;)V
      client method_2076 Ldw;method_2076(Lec;)V
      named addListener Lnet/minecraft/screen/ScreenHandler;addListener(Lnet/minecraft/class_633;)V
    • method_2083

      @Environment(SERVER) public List method_2083()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2083 Lnet/minecraft/class_71;method_2083()Ljava/util/List;
      glue method_293 Lclass_94;method_293()Ljava/util/List;
      server b Lcl;b()Ljava/util/List;
      client method_2083 Ldw;method_2083()Ljava/util/List;
      named method_2083 Lnet/minecraft/screen/ScreenHandler;method_2083()Ljava/util/List;
    • method_2075

      public void method_2075()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2075 Lnet/minecraft/class_71;method_2075()V
      glue method_104 Lclass_94;method_104()V
      server a Lcl;a()V
      client a Ldw;a()V
      named method_2075 Lnet/minecraft/screen/ScreenHandler;method_2075()V
    • method_2082

      @Environment(SERVER) public Slot method_2082(Inventory inventory, int int2)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2082 Lnet/minecraft/class_71;method_2082(Lnet/minecraft/class_134;I)Lnet/minecraft/class_133;
      glue method_292 Lclass_94;method_292(Lclass_287;I)Lclass_170;
      server a Lcl;a(Lhp;I)Lel;
      client method_2082 Ldw;method_2082(Llw;I)Lgp;
      named method_2082 Lnet/minecraft/screen/ScreenHandler;method_2082(Lnet/minecraft/inventory/Inventory;I)Lnet/minecraft/screen/slot/Slot;
    • getSlot

      public Slot getSlot(int slotIndex)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2084 Lnet/minecraft/class_71;method_2084(I)Lnet/minecraft/class_133;
      glue method_294 Lclass_94;method_294(I)Lclass_170;
      server b Lcl;b(I)Lel;
      client b Ldw;b(I)Lgp;
      named getSlot Lnet/minecraft/screen/ScreenHandler;getSlot(I)Lnet/minecraft/screen/slot/Slot;
    • getStackInSlot

      public ItemStack getStackInSlot(int slotIndex)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2086 Lnet/minecraft/class_71;method_2086(I)Lnet/minecraft/class_31;
      glue method_5 Lclass_94;method_5(I)Lclass_224;
      server a Lcl;a(I)Lfy;
      client a Ldw;a(I)Liz;
      named getStackInSlot Lnet/minecraft/screen/ScreenHandler;getStackInSlot(I)Lnet/minecraft/item/ItemStack;
    • onSlotClick

      public ItemStack onSlotClick(int slotIndex, int button, boolean shift, PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2078 Lnet/minecraft/class_71;method_2078(IIZLnet/minecraft/class_54;)Lnet/minecraft/class_31;
      glue method_288 Lclass_94;method_288(IIZLclass_172;)Lclass_224;
      server a Lcl;a(IIZLem;)Lfy;
      client a Ldw;a(IIZLgs;)Liz;
      named onSlotClick Lnet/minecraft/screen/ScreenHandler;onSlotClick(IIZLnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/item/ItemStack;
    • onClosed

      public void onClosed(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2087 Lnet/minecraft/class_71;method_2087(Lnet/minecraft/class_54;)V
      glue method_6 Lclass_94;method_6(Lclass_172;)V
      server a Lcl;a(Lem;)V
      client a Ldw;a(Lgs;)V
      named onClosed Lnet/minecraft/screen/ScreenHandler;onClosed(Lnet/minecraft/entity/player/PlayerEntity;)V
    • method_2088

      public void method_2088(Inventory inventory)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2088 Lnet/minecraft/class_71;method_2088(Lnet/minecraft/class_134;)V
      glue method_7 Lclass_94;method_7(Lclass_287;)V
      server a Lcl;a(Lhp;)V
      client a Ldw;a(Llw;)V
      named method_2088 Lnet/minecraft/screen/ScreenHandler;method_2088(Lnet/minecraft/inventory/Inventory;)V
    • method_2089

      @Environment(CLIENT) public void method_2089(int int2, ItemStack itemStack)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2089 Lnet/minecraft/class_71;method_2089(ILnet/minecraft/class_31;)V
      glue method_712 Lclass_94;method_712(ILclass_224;)V
      server method_2089 Lcl;method_2089(ILfy;)V
      client a Ldw;a(ILiz;)V
      named method_2089 Lnet/minecraft/screen/ScreenHandler;method_2089(ILnet/minecraft/item/ItemStack;)V
    • method_2092

      @Environment(CLIENT) public void method_2092(ItemStack[] itemStack)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2092 Lnet/minecraft/class_71;method_2092([Lnet/minecraft/class_31;)V
      glue method_715 Lclass_94;method_715([Lclass_224;)V
      server method_2092 Lcl;method_2092([Lfy;)V
      client a Ldw;a([Liz;)V
      named method_2092 Lnet/minecraft/screen/ScreenHandler;method_2092([Lnet/minecraft/item/ItemStack;)V
    • method_2077

      @Environment(CLIENT) public void method_2077(int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2077 Lnet/minecraft/class_71;method_2077(II)V
      glue method_192 Lclass_94;method_192(II)V
      server method_2077 Lcl;method_2077(II)V
      client a Ldw;a(II)V
      named method_2077 Lnet/minecraft/screen/ScreenHandler;method_2077(II)V
    • nextRevision

      @Environment(CLIENT) public short nextRevision(PlayerInventory inventory)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2090 Lnet/minecraft/class_71;method_2090(Lnet/minecraft/class_136;)S
      glue method_713 Lclass_94;method_713(Lclass_223;)S
      server method_2090 Lcl;method_2090(Lfx;)S
      client a Ldw;a(Lix;)S
      named nextRevision Lnet/minecraft/screen/ScreenHandler;nextRevision(Lnet/minecraft/entity/player/PlayerInventory;)S
    • method_2091

      @Environment(CLIENT) public void method_2091(short short2)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2091 Lnet/minecraft/class_71;method_2091(S)V
      glue method_714 Lclass_94;method_714(S)V
      server method_2091 Lcl;method_2091(S)V
      client a Ldw;a(S)V
      named method_2091 Lnet/minecraft/screen/ScreenHandler;method_2091(S)V
    • method_2093

      @Environment(CLIENT) public void method_2093(short short2)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2093 Lnet/minecraft/class_71;method_2093(S)V
      glue method_716 Lclass_94;method_716(S)V
      server method_2093 Lcl;method_2093(S)V
      client b Ldw;b(S)V
      named method_2093 Lnet/minecraft/screen/ScreenHandler;method_2093(S)V
    • method_2085

      @Environment(SERVER) public boolean method_2085(PlayerEntity playerEntity)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2085 Lnet/minecraft/class_71;method_2085(Lnet/minecraft/class_54;)Z
      glue method_295 Lclass_94;method_295(Lclass_172;)Z
      server c Lcl;c(Lem;)Z
      client method_2085 Ldw;method_2085(Lgs;)Z
      named method_2085 Lnet/minecraft/screen/ScreenHandler;method_2085(Lnet/minecraft/entity/player/PlayerEntity;)Z
    • method_2080

      @Environment(SERVER) public void method_2080(PlayerEntity playerEntity, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2080 Lnet/minecraft/class_71;method_2080(Lnet/minecraft/class_54;Z)V
      glue method_290 Lclass_94;method_290(Lclass_172;Z)V
      server a Lcl;a(Lem;Z)V
      client method_2080 Ldw;method_2080(Lgs;Z)V
      named method_2080 Lnet/minecraft/screen/ScreenHandler;method_2080(Lnet/minecraft/entity/player/PlayerEntity;Z)V
    • canUse

      public abstract boolean canUse(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2094 Lnet/minecraft/class_71;method_2094(Lnet/minecraft/class_54;)Z
      glue method_8 Lclass_94;method_8(Lclass_172;)Z
      server b Lcl;b(Lem;)Z
      client b Ldw;b(Lgs;)Z
      named canUse Lnet/minecraft/screen/ScreenHandler;canUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
    • method_2081

      protected void method_2081(ItemStack itemStack, int int2, int int3, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2081 Lnet/minecraft/class_71;method_2081(Lnet/minecraft/class_31;IIZ)V
      glue method_291 Lclass_94;method_291(Lclass_224;IIZ)V
      server a Lcl;a(Lfy;IIZ)V
      client a Ldw;a(Liz;IIZ)V
      named method_2081 Lnet/minecraft/screen/ScreenHandler;method_2081(Lnet/minecraft/item/ItemStack;IIZ)V