Package net.minecraft.screen
Class CartographyTableScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.CartographyTableScreenHandler
public class CartographyTableScreenHandler extends ScreenHandler
- Mappings:
Namespace Name official bjxintermediary net/minecraft/class_3910named net/minecraft/screen/CartographyTableScreenHandler
-
Field Summary
Fields Modifier and Type Field Description private ScreenHandlerContextcontextInventoryinventoryprivate longlastTakeResultTimeprivate CraftingResultInventoryresultSlotFields inherited from class net.minecraft.screen.ScreenHandler
slots, syncId -
Constructor Summary
Constructors Constructor Description CartographyTableScreenHandler(int syncId, PlayerInventory inventory)CartographyTableScreenHandler(int syncId, PlayerInventory inventory, ScreenHandlerContext context) -
Method Summary
Modifier and Type Method Description booleancanInsertIntoSlot(ItemStack stack, Slot slot)booleancanUse(PlayerEntity player)voidclose(PlayerEntity player)voidonContentChanged(Inventory inventory)ItemStacktransferSlot(PlayerEntity player, int index)private voidupdateResult(ItemStack itemStack, ItemStack itemStack2, ItemStack oldResult)Methods inherited from class net.minecraft.screen.ScreenHandler
addListener, addProperties, addProperty, addSlot, calculateComparatorOutput, calculateComparatorOutput, calculateStackSize, canInsertIntoSlot, canInsertItemIntoSlot, canUse, checkDataCount, checkSize, dropInventory, endQuickCraft, getNextActionId, getSlot, getStacks, getType, insertItem, isNotRestricted, onButtonClick, onSlotClick, packQuickCraftData, removeListener, sendContentUpdates, setPlayerRestriction, setProperty, setStackInSlot, shouldQuickCraftContinue, unpackQuickCraftButton, unpackQuickCraftStage, updateSlotStacks
-
Field Details
-
context
- Mappings:
Namespace Name Mixin selector official dLbjx;d:Lbkc;intermediary field_17294Lnet/minecraft/class_3910;field_17294:Lnet/minecraft/class_3914;named contextLnet/minecraft/screen/CartographyTableScreenHandler;context:Lnet/minecraft/screen/ScreenHandlerContext;
-
lastTakeResultTime
private long lastTakeResultTime- Mappings:
Namespace Name Mixin selector official eLbjx;e:Jintermediary field_20382Lnet/minecraft/class_3910;field_20382:Jnamed lastTakeResultTimeLnet/minecraft/screen/CartographyTableScreenHandler;lastTakeResultTime:J
-
inventory
- Mappings:
Namespace Name Mixin selector official cLbjx;c:Lapj;intermediary field_17293Lnet/minecraft/class_3910;field_17293:Lnet/minecraft/class_1263;named inventoryLnet/minecraft/screen/CartographyTableScreenHandler;inventory:Lnet/minecraft/inventory/Inventory;
-
resultSlot
- Mappings:
Namespace Name Mixin selector official fLbjx;f:Lblc;intermediary field_19272Lnet/minecraft/class_3910;field_19272:Lnet/minecraft/class_1731;named resultSlotLnet/minecraft/screen/CartographyTableScreenHandler;resultSlot:Lnet/minecraft/inventory/CraftingResultInventory;
-
-
Constructor Details
-
CartographyTableScreenHandler
- Mappings:
Namespace Name Mixin selector official <init>Lbjx;<init>(ILbhk;)Vintermediary <init>Lnet/minecraft/class_3910;<init>(ILnet/minecraft/class_1661;)Vnamed <init>Lnet/minecraft/screen/CartographyTableScreenHandler;<init>(ILnet/minecraft/entity/player/PlayerInventory;)V
-
CartographyTableScreenHandler
public CartographyTableScreenHandler(int syncId, PlayerInventory inventory, ScreenHandlerContext context)- Mappings:
Namespace Name Mixin selector official <init>Lbjx;<init>(ILbhk;Lbkc;)Vintermediary <init>Lnet/minecraft/class_3910;<init>(ILnet/minecraft/class_1661;Lnet/minecraft/class_3914;)Vnamed <init>Lnet/minecraft/screen/CartographyTableScreenHandler;<init>(ILnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/screen/ScreenHandlerContext;)V
-
-
Method Details
-
canUse
- Specified by:
canUsein classScreenHandler- Mappings:
Namespace Name Mixin selector official aLbjr;a(Lbhl;)Zintermediary method_7597Lnet/minecraft/class_1703;method_7597(Lnet/minecraft/class_1657;)Znamed canUseLnet/minecraft/screen/ScreenHandler;canUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
onContentChanged
- Overrides:
onContentChangedin classScreenHandler- Mappings:
Namespace Name Mixin selector official aLbjr;a(Lapj;)Vintermediary method_7609Lnet/minecraft/class_1703;method_7609(Lnet/minecraft/class_1263;)Vnamed onContentChangedLnet/minecraft/screen/ScreenHandler;onContentChanged(Lnet/minecraft/inventory/Inventory;)V
-
updateResult
- Mappings:
Namespace Name Mixin selector official aLbjx;a(Lbnv;Lbnv;Lbnv;)Vintermediary method_17381Lnet/minecraft/class_3910;method_17381(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Vnamed updateResultLnet/minecraft/screen/CartographyTableScreenHandler;updateResult(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)V
-
canInsertIntoSlot
- Overrides:
canInsertIntoSlotin classScreenHandler- Mappings:
Namespace Name Mixin selector official aLbjr;a(Lbnv;Lblh;)Zintermediary method_7613Lnet/minecraft/class_1703;method_7613(Lnet/minecraft/class_1799;Lnet/minecraft/class_1735;)Znamed canInsertIntoSlotLnet/minecraft/screen/ScreenHandler;canInsertIntoSlot(Lnet/minecraft/item/ItemStack;Lnet/minecraft/screen/slot/Slot;)Z
-
transferSlot
- Overrides:
transferSlotin classScreenHandler- Mappings:
Namespace Name Mixin selector official bLbjr;b(Lbhl;I)Lbnv;intermediary method_7601Lnet/minecraft/class_1703;method_7601(Lnet/minecraft/class_1657;I)Lnet/minecraft/class_1799;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 bLbjr;b(Lbhl;)Vintermediary method_7595Lnet/minecraft/class_1703;method_7595(Lnet/minecraft/class_1657;)Vnamed closeLnet/minecraft/screen/ScreenHandler;close(Lnet/minecraft/entity/player/PlayerEntity;)V
-