Package net.minecraft.screen
Class PlayerScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.PlayerScreenHandler
- Mappings:
Namespace Name official adcintermediary 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_3252, method_3255, onButtonClick, onSlotClick, packClickData, removeListener, sendContentUpdates, setPlayerRestriction, setProperty, setStackInSlot, shouldQuickCraftContinue, unpackButtonId, unpackQuickCraftStage
-
Field Details
-
field_12272
- Mappings:
Namespace Name Mixin selector official hLadc;h:[Lss;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 aLadc;a:Lacs;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 fLadc;f:Lrc;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 gLadc;g:Zintermediary field_4130Lnet/minecraft/class_1018;field_4130:Znamed onServerLnet/minecraft/screen/PlayerScreenHandler;onServer:Z
-
owner
- Mappings:
Namespace Name Mixin selector official iLadc;i:Laay;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>Ladc;<init>(Laax;ZLaay;)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 aLacl;a(Lrc;)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 bLacl;b(Laay;)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 aLacl;a(Laay;)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 bLacl;b(Laay;I)Lafj;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 aLacl;a(Lafj;Ladl;)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
-