Class PlayerContainer

java.lang.Object
net.minecraft.container.ContainerBase
net.minecraft.entity.player.PlayerContainer

public class PlayerContainer extends ContainerBase
Mappings:
Namespace Name
intermediary net/minecraft/class_277
glue class_3
server o
client aa
named net/minecraft/entity/player/PlayerContainer
  • Field Details

    • craftingInv

      public Crafting craftingInv
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1124 Lnet/minecraft/class_277;field_1124:Lnet/minecraft/class_159;
      glue field_4 Lclass_3;field_4:Lclass_305;
      server a Lo;a:Lhz;
      client a Laa;a:Lmq;
      named craftingInv Lnet/minecraft/entity/player/PlayerContainer;craftingInv:Lnet/minecraft/inventory/Crafting;
    • resultInv

      public InventoryBase resultInv
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1125 Lnet/minecraft/class_277;field_1125:Lnet/minecraft/class_134;
      glue field_5 Lclass_3;field_5:Lclass_287;
      server b Lo;b:Lhp;
      client b Laa;b:Llw;
      named resultInv Lnet/minecraft/entity/player/PlayerContainer;resultInv:Lnet/minecraft/inventory/InventoryBase;
    • local

      public boolean local
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1126 Lnet/minecraft/class_277;field_1126:Z
      glue field_6 Lclass_3;field_6:Z
      server c Lo;c:Z
      client c Laa;c:Z
      named local Lnet/minecraft/entity/player/PlayerContainer;local:Z
  • Constructor Details

    • PlayerContainer

      public PlayerContainer(PlayerInventory playerInventory)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_277;<init>(Lnet/minecraft/class_136;)V
      glue <init> Lclass_3;<init>(Lclass_223;)V
      server <init> Lo;<init>(Lfx;)V
      client <init> Laa;<init>(Lix;)V
      named <init> Lnet/minecraft/entity/player/PlayerContainer;<init>(Lnet/minecraft/entity/player/PlayerInventory;)V
    • PlayerContainer

      public PlayerContainer(PlayerInventory playerInventory, boolean local)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_277;<init>(Lnet/minecraft/class_136;Z)V
      glue <init> Lclass_3;<init>(Lclass_223;Z)V
      server <init> Lo;<init>(Lfx;Z)V
      client <init> Laa;<init>(Lix;Z)V
      named <init> Lnet/minecraft/entity/player/PlayerContainer;<init>(Lnet/minecraft/entity/player/PlayerInventory;Z)V
  • Method Details

    • onContentsChanged

      public void onContentsChanged(InventoryBase inventory)
      Overrides:
      onContentsChanged in class ContainerBase
      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 onContentsChanged Lnet/minecraft/container/ContainerBase;onContentsChanged(Lnet/minecraft/inventory/InventoryBase;)V
    • onClosed

      public void onClosed(PlayerBase player)
      Overrides:
      onClosed in class ContainerBase
      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/container/ContainerBase;onClosed(Lnet/minecraft/entity/player/PlayerBase;)V
    • canUse

      public boolean canUse(PlayerBase player)
      Specified by:
      canUse in class ContainerBase
      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/container/ContainerBase;canUse(Lnet/minecraft/entity/player/PlayerBase;)Z
    • transferSlot

      public ItemInstance transferSlot(int slotIndex)
      Overrides:
      transferSlot in class ContainerBase
      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 transferSlot Lnet/minecraft/container/ContainerBase;transferSlot(I)Lnet/minecraft/item/ItemInstance;