Package net.minecraft.screen
Class PlayerScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.PlayerScreenHandler
- Mappings:
Namespace Name official agiintermediary 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
field_15099, listeners, slots, syncId -
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, insertItem, isNotRestricted, method_13641, method_13642, method_14204, method_14205, method_3252, method_3255, onButtonClick, packClickData, removeListener, sendContentUpdates, setPlayerRestriction, setProperty, setStackInSlot, shouldQuickCraftContinue, unpackButtonId, unpackQuickCraftStage
-
Field Details
-
field_12272
- Mappings:
Namespace Name Mixin selector official hLagi;h:[Lvl;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 aLagi;a:Lafy;intermediary field_4128Lnet/minecraft/class_1018;field_4128:Lnet/minecraft/class_1011;named craftingInventoryLnet/minecraft/screen/PlayerScreenHandler;craftingInventory:Lnet/minecraft/inventory/CraftingInventory;
-
field_15649
- Mappings:
Namespace Name Mixin selector official fLagi;f:Lagn;intermediary field_15649Lnet/minecraft/class_1018;field_15649:Lnet/minecraft/class_1024;named field_15649Lnet/minecraft/screen/PlayerScreenHandler;field_15649:Lnet/minecraft/inventory/CraftingResultInventory;
-
onServer
public boolean onServer- Mappings:
Namespace Name Mixin selector official gLagi;g:Zintermediary field_4130Lnet/minecraft/class_1018;field_4130:Znamed onServerLnet/minecraft/screen/PlayerScreenHandler;onServer:Z
-
owner
- Mappings:
Namespace Name Mixin selector official iLagi;i:Laed;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>Lagi;<init>(Laec;ZLaed;)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 aLafr;a(Ltv;)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 bLafr;b(Laed;)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 aLafr;a(Laed;)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 bLafr;b(Laed;I)Laip;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 aLafr;a(Laip;Lagr;)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
-