Package net.minecraft.screen
Class PlayerScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.PlayerScreenHandler
- Mappings:
Namespace Name official ablintermediary net/minecraft/class_1018named net/minecraft/screen/PlayerScreenHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final EquipmentSlot[]booleanprivate final PlayerEntityFields inherited from class net.minecraft.screen.ScreenHandler
listeners, slots, syncId, trackedStacks -
Constructor Summary
ConstructorsConstructorDescriptionPlayerScreenHandler(PlayerInventory inventory, boolean onServer, PlayerEntity owner) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanInsertIntoSlot(ItemStack stack, Slot slot) booleancanUse(PlayerEntity player) voidclose(PlayerEntity player) voidonContentChanged(Inventory inventory) transferSlot(PlayerEntity player, int invSlot) Methods inherited from class net.minecraft.screen.ScreenHandler
addListener, addSlot, calculateComparatorOutput, calculateComparatorOutput, calculateStackSize, canInsertIntoSlot, canInsertItemIntoSlot, endQuickCraft, getNextActionId, getSlot, getStacks, insertItem, isNotRestricted, method_3252, method_3255, onButtonClick, onSlotClick, packClickData, removeListener, sendContentUpdates, setPlayerRestriction, setProperty, setStackInSlot, shouldQuickCraftContinue, unpackButtonId, unpackQuickCraftStage, updateSlotStacks
-
Field Details
-
field_12272
- Mappings:
Namespace Name Mixin selector official hLabl;h:[Lrw;intermediary field_12272Lnet/minecraft/class_1018;field_12272:[Lnet/minecraft/class_2968;named field_12272Lnet/minecraft/screen/PlayerScreenHandler;field_12272:[Lnet/minecraft/entity/EquipmentSlot;
-
craftingInventory
- Mappings:
Namespace Name Mixin selector official aLabl;a:Labc;intermediary field_4128Lnet/minecraft/class_1018;field_4128:Lnet/minecraft/class_1011;named craftingInventoryLnet/minecraft/screen/PlayerScreenHandler;craftingInventory:Lnet/minecraft/inventory/CraftingInventory;
-
craftingResultInventory
- Mappings:
Namespace Name Mixin selector official fLabl;f:Lqg;intermediary field_4129Lnet/minecraft/class_1018;field_4129:Lnet/minecraft/class_849;named craftingResultInventoryLnet/minecraft/screen/PlayerScreenHandler;craftingResultInventory:Lnet/minecraft/inventory/Inventory;
-
onServer
public boolean onServer- Mappings:
Namespace Name Mixin selector official gLabl;g:Zintermediary field_4130Lnet/minecraft/class_1018;field_4130:Znamed onServerLnet/minecraft/screen/PlayerScreenHandler;onServer:Z
-
owner
- Mappings:
Namespace Name Mixin selector official iLabl;i:Lzj;intermediary field_5412Lnet/minecraft/class_1018;field_5412:Lnet/minecraft/class_988;named ownerLnet/minecraft/screen/PlayerScreenHandler;owner:Lnet/minecraft/entity/player/PlayerEntity;
-
-
Constructor Details
-
PlayerScreenHandler
- Mappings:
Namespace Name Mixin selector official <init>Labl;<init>(Lzi;ZLzj;)Vintermediary <init>Lnet/minecraft/class_1018;<init>(Lnet/minecraft/class_987;ZLnet/minecraft/class_988;)Vnamed <init>Lnet/minecraft/screen/PlayerScreenHandler;<init>(Lnet/minecraft/entity/player/PlayerInventory;ZLnet/minecraft/entity/player/PlayerEntity;)V
-
-
Method Details
-
onContentChanged
- Overrides:
onContentChangedin classScreenHandler- Mappings:
Namespace Name Mixin selector official aLaau;a(Lqg;)Vintermediary method_3254Lnet/minecraft/class_1002;method_3254(Lnet/minecraft/class_849;)Vnamed onContentChangedLnet/minecraft/screen/ScreenHandler;onContentChanged(Lnet/minecraft/inventory/Inventory;)V
-
close
- Overrides:
closein classScreenHandler- Mappings:
Namespace Name Mixin selector official bLaau;b(Lzj;)Vintermediary method_3257Lnet/minecraft/class_1002;method_3257(Lnet/minecraft/class_988;)Vnamed closeLnet/minecraft/screen/ScreenHandler;close(Lnet/minecraft/entity/player/PlayerEntity;)V
-
canUse
- Specified by:
canUsein classScreenHandler- Mappings:
Namespace Name Mixin selector official aLaau;a(Lzj;)Zintermediary method_3269Lnet/minecraft/class_1002;method_3269(Lnet/minecraft/class_988;)Znamed canUseLnet/minecraft/screen/ScreenHandler;canUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
transferSlot
- Overrides:
transferSlotin classScreenHandler- Mappings:
Namespace Name Mixin selector official bLaau;b(Lzj;I)Ladq;intermediary method_3265Lnet/minecraft/class_1002;method_3265(Lnet/minecraft/class_988;I)Lnet/minecraft/class_1071;named transferSlotLnet/minecraft/screen/ScreenHandler;transferSlot(Lnet/minecraft/entity/player/PlayerEntity;I)Lnet/minecraft/item/ItemStack;
-
canInsertIntoSlot
- Overrides:
canInsertIntoSlotin classScreenHandler- Mappings:
Namespace Name Mixin selector official aLaau;a(Ladq;Labt;)Zintermediary method_5449Lnet/minecraft/class_1002;method_5449(Lnet/minecraft/class_1071;Lnet/minecraft/class_1026;)Znamed canInsertIntoSlotLnet/minecraft/screen/ScreenHandler;canInsertIntoSlot(Lnet/minecraft/item/ItemStack;Lnet/minecraft/inventory/slot/Slot;)Z
-