Package net.minecraft.entity.player
Class PlayerContainer
java.lang.Object
net.minecraft.container.ContainerBase
net.minecraft.entity.player.PlayerContainer
- Mappings:
Namespace Name intermediary net/minecraft/class_277glue class_3server oclient aanamed net/minecraft/entity/player/PlayerContainer
-
Field Summary
FieldsFields inherited from class net.minecraft.container.ContainerBase
currentContainerId, items, listeners, slots -
Constructor Summary
ConstructorsConstructorDescriptionPlayerContainer(PlayerInventory playerInventory) PlayerContainer(PlayerInventory playerInventory, boolean local) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanUse(PlayerBase player) voidonClosed(PlayerBase player) voidonContentsChanged(InventoryBase inventory) transferSlot(int slotIndex) Methods inherited from class net.minecraft.container.ContainerBase
addListener, addSlot, clickSlot, getItems, getSlot, insertItem, method_2080, method_2082, method_2085, method_2090, method_2091, method_2093, setProperty, setStack, setStacks, tick
-
Field Details
-
craftingInv
- Mappings:
Namespace Name Mixin selector intermediary field_1124Lnet/minecraft/class_277;field_1124:Lnet/minecraft/class_159;glue field_4Lclass_3;field_4:Lclass_305;server aLo;a:Lhz;client aLaa;a:Lmq;named craftingInvLnet/minecraft/entity/player/PlayerContainer;craftingInv:Lnet/minecraft/inventory/Crafting;
-
resultInv
- Mappings:
Namespace Name Mixin selector intermediary field_1125Lnet/minecraft/class_277;field_1125:Lnet/minecraft/class_134;glue field_5Lclass_3;field_5:Lclass_287;server bLo;b:Lhp;client bLaa;b:Llw;named resultInvLnet/minecraft/entity/player/PlayerContainer;resultInv:Lnet/minecraft/inventory/InventoryBase;
-
local
public boolean local- Mappings:
Namespace Name Mixin selector intermediary field_1126Lnet/minecraft/class_277;field_1126:Zglue field_6Lclass_3;field_6:Zserver cLo;c:Zclient cLaa;c:Znamed localLnet/minecraft/entity/player/PlayerContainer;local:Z
-
-
Constructor Details
-
PlayerContainer
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_277;<init>(Lnet/minecraft/class_136;)Vglue <init>Lclass_3;<init>(Lclass_223;)Vserver <init>Lo;<init>(Lfx;)Vclient <init>Laa;<init>(Lix;)Vnamed <init>Lnet/minecraft/entity/player/PlayerContainer;<init>(Lnet/minecraft/entity/player/PlayerInventory;)V
-
PlayerContainer
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_277;<init>(Lnet/minecraft/class_136;Z)Vglue <init>Lclass_3;<init>(Lclass_223;Z)Vserver <init>Lo;<init>(Lfx;Z)Vclient <init>Laa;<init>(Lix;Z)Vnamed <init>Lnet/minecraft/entity/player/PlayerContainer;<init>(Lnet/minecraft/entity/player/PlayerInventory;Z)V
-
-
Method Details
-
onContentsChanged
- Overrides:
onContentsChangedin classContainerBase- Mappings:
Namespace Name Mixin selector intermediary method_2088Lnet/minecraft/class_71;method_2088(Lnet/minecraft/class_134;)Vglue method_7Lclass_94;method_7(Lclass_287;)Vserver aLcl;a(Lhp;)Vclient aLdw;a(Llw;)Vnamed onContentsChangedLnet/minecraft/container/ContainerBase;onContentsChanged(Lnet/minecraft/inventory/InventoryBase;)V
-
onClosed
- Overrides:
onClosedin classContainerBase- Mappings:
Namespace Name Mixin selector intermediary method_2087Lnet/minecraft/class_71;method_2087(Lnet/minecraft/class_54;)Vglue method_6Lclass_94;method_6(Lclass_172;)Vserver aLcl;a(Lem;)Vclient aLdw;a(Lgs;)Vnamed onClosedLnet/minecraft/container/ContainerBase;onClosed(Lnet/minecraft/entity/player/PlayerBase;)V
-
canUse
- Specified by:
canUsein classContainerBase- Mappings:
Namespace Name Mixin selector intermediary method_2094Lnet/minecraft/class_71;method_2094(Lnet/minecraft/class_54;)Zglue method_8Lclass_94;method_8(Lclass_172;)Zserver bLcl;b(Lem;)Zclient bLdw;b(Lgs;)Znamed canUseLnet/minecraft/container/ContainerBase;canUse(Lnet/minecraft/entity/player/PlayerBase;)Z
-
transferSlot
- Overrides:
transferSlotin classContainerBase- Mappings:
Namespace Name Mixin selector intermediary method_2086Lnet/minecraft/class_71;method_2086(I)Lnet/minecraft/class_31;glue method_5Lclass_94;method_5(I)Lclass_224;server aLcl;a(I)Lfy;client aLdw;a(I)Liz;named transferSlotLnet/minecraft/container/ContainerBase;transferSlot(I)Lnet/minecraft/item/ItemInstance;
-