Package net.minecraft.screen
Class ChestScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.ChestScreenHandler
- Mappings:
Namespace Name official apzintermediary net/minecraft/class_1008named net/minecraft/screen/ChestScreenHandler
-
Field Summary
FieldsFields inherited from class net.minecraft.screen.ScreenHandler
field_15099, listeners, slots, syncId -
Constructor Summary
ConstructorsConstructorDescriptionChestScreenHandler(Inventory inventory, Inventory playerInventory, PlayerEntity player) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanUse(PlayerEntity player) voidclose(PlayerEntity player) transferSlot(PlayerEntity player, int invSlot) Methods inherited from class net.minecraft.screen.ScreenHandler
addListener, addSlot, calculateComparatorOutput, calculateComparatorOutput, calculateStackSize, canInsertIntoSlot, canInsertIntoSlot, canInsertItemIntoSlot, endQuickCraft, getNextActionId, getSlot, insertItem, isNotRestricted, method_13641, method_13642, method_14204, method_15965, method_15966, method_3252, method_3255, onButtonClick, onContentChanged, packClickData, removeListener, sendContentUpdates, setPlayerRestriction, setProperty, setStackInSlot, shouldQuickCraftContinue, unpackButtonId, unpackQuickCraftStage
-
Field Details
-
inventory
- Mappings:
Namespace Name Mixin selector official aLapz;a:Lade;intermediary field_4097Lnet/minecraft/class_1008;field_4097:Lnet/minecraft/class_849;named inventoryLnet/minecraft/screen/ChestScreenHandler;inventory:Lnet/minecraft/inventory/Inventory;
-
hieght
private final int hieght- Mappings:
Namespace Name Mixin selector official fLapz;f:Iintermediary field_4098Lnet/minecraft/class_1008;field_4098:Inamed hieghtLnet/minecraft/screen/ChestScreenHandler;hieght:I
-
-
Constructor Details
-
ChestScreenHandler
- Mappings:
Namespace Name Mixin selector official <init>Lapz;<init>(Lade;Lade;Laog;)Vintermediary <init>Lnet/minecraft/class_1008;<init>(Lnet/minecraft/class_849;Lnet/minecraft/class_849;Lnet/minecraft/class_988;)Vnamed <init>Lnet/minecraft/screen/ChestScreenHandler;<init>(Lnet/minecraft/inventory/Inventory;Lnet/minecraft/inventory/Inventory;Lnet/minecraft/entity/player/PlayerEntity;)V
-
-
Method Details
-
canUse
- Specified by:
canUsein classScreenHandler- Mappings:
Namespace Name Mixin selector official aLapv;a(Laog;)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 bLapv;b(Laog;I)Late;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;
-
close
- Overrides:
closein classScreenHandler- Mappings:
Namespace Name Mixin selector official bLapv;b(Laog;)Vintermediary method_3257Lnet/minecraft/class_1002;method_3257(Lnet/minecraft/class_988;)Vnamed closeLnet/minecraft/screen/ScreenHandler;close(Lnet/minecraft/entity/player/PlayerEntity;)V
-
getInventory
- Mappings:
Namespace Name Mixin selector official dLapz;d()Lade;intermediary method_4591Lnet/minecraft/class_1008;method_4591()Lnet/minecraft/class_849;named getInventoryLnet/minecraft/screen/ChestScreenHandler;getInventory()Lnet/minecraft/inventory/Inventory;
-