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 bjx
intermediary net/minecraft/class_3910
named net/minecraft/screen/CartographyTableScreenHandler
-
Field Summary
Fields Modifier and Type Field Description private ScreenHandlerContext
context
Inventory
inventory
private long
lastTakeResultTime
private CraftingResultInventory
resultSlot
Fields 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 boolean
canInsertIntoSlot(ItemStack stack, Slot slot)
boolean
canUse(PlayerEntity player)
void
close(PlayerEntity player)
void
onContentChanged(Inventory inventory)
ItemStack
transferSlot(PlayerEntity player, int index)
private void
updateResult(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 d
Lbjx;d:Lbkc;
intermediary field_17294
Lnet/minecraft/class_3910;field_17294:Lnet/minecraft/class_3914;
named context
Lnet/minecraft/screen/CartographyTableScreenHandler;context:Lnet/minecraft/screen/ScreenHandlerContext;
-
lastTakeResultTime
private long lastTakeResultTime- Mappings:
Namespace Name Mixin selector official e
Lbjx;e:J
intermediary field_20382
Lnet/minecraft/class_3910;field_20382:J
named lastTakeResultTime
Lnet/minecraft/screen/CartographyTableScreenHandler;lastTakeResultTime:J
-
inventory
- Mappings:
Namespace Name Mixin selector official c
Lbjx;c:Lapj;
intermediary field_17293
Lnet/minecraft/class_3910;field_17293:Lnet/minecraft/class_1263;
named inventory
Lnet/minecraft/screen/CartographyTableScreenHandler;inventory:Lnet/minecraft/inventory/Inventory;
-
resultSlot
- Mappings:
Namespace Name Mixin selector official f
Lbjx;f:Lblc;
intermediary field_19272
Lnet/minecraft/class_3910;field_19272:Lnet/minecraft/class_1731;
named resultSlot
Lnet/minecraft/screen/CartographyTableScreenHandler;resultSlot:Lnet/minecraft/inventory/CraftingResultInventory;
-
-
Constructor Details
-
CartographyTableScreenHandler
- Mappings:
Namespace Name Mixin selector official <init>
Lbjx;<init>(ILbhk;)V
intermediary <init>
Lnet/minecraft/class_3910;<init>(ILnet/minecraft/class_1661;)V
named <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;)V
intermediary <init>
Lnet/minecraft/class_3910;<init>(ILnet/minecraft/class_1661;Lnet/minecraft/class_3914;)V
named <init>
Lnet/minecraft/screen/CartographyTableScreenHandler;<init>(ILnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/screen/ScreenHandlerContext;)V
-
-
Method Details
-
canUse
- Specified by:
canUse
in classScreenHandler
- Mappings:
Namespace Name Mixin selector official a
Lbjr;a(Lbhl;)Z
intermediary method_7597
Lnet/minecraft/class_1703;method_7597(Lnet/minecraft/class_1657;)Z
named canUse
Lnet/minecraft/screen/ScreenHandler;canUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
onContentChanged
- Overrides:
onContentChanged
in classScreenHandler
- Mappings:
Namespace Name Mixin selector official a
Lbjr;a(Lapj;)V
intermediary method_7609
Lnet/minecraft/class_1703;method_7609(Lnet/minecraft/class_1263;)V
named onContentChanged
Lnet/minecraft/screen/ScreenHandler;onContentChanged(Lnet/minecraft/inventory/Inventory;)V
-
updateResult
- Mappings:
Namespace Name Mixin selector official a
Lbjx;a(Lbnv;Lbnv;Lbnv;)V
intermediary method_17381
Lnet/minecraft/class_3910;method_17381(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)V
named updateResult
Lnet/minecraft/screen/CartographyTableScreenHandler;updateResult(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)V
-
canInsertIntoSlot
- Overrides:
canInsertIntoSlot
in classScreenHandler
- Mappings:
Namespace Name Mixin selector official a
Lbjr;a(Lbnv;Lblh;)Z
intermediary method_7613
Lnet/minecraft/class_1703;method_7613(Lnet/minecraft/class_1799;Lnet/minecraft/class_1735;)Z
named canInsertIntoSlot
Lnet/minecraft/screen/ScreenHandler;canInsertIntoSlot(Lnet/minecraft/item/ItemStack;Lnet/minecraft/screen/slot/Slot;)Z
-
transferSlot
- Overrides:
transferSlot
in classScreenHandler
- Mappings:
Namespace Name Mixin selector official b
Lbjr;b(Lbhl;I)Lbnv;
intermediary method_7601
Lnet/minecraft/class_1703;method_7601(Lnet/minecraft/class_1657;I)Lnet/minecraft/class_1799;
named transferSlot
Lnet/minecraft/screen/ScreenHandler;transferSlot(Lnet/minecraft/entity/player/PlayerEntity;I)Lnet/minecraft/item/ItemStack;
-
close
- Overrides:
close
in classScreenHandler
- Mappings:
Namespace Name Mixin selector official b
Lbjr;b(Lbhl;)V
intermediary method_7595
Lnet/minecraft/class_1703;method_7595(Lnet/minecraft/class_1657;)V
named close
Lnet/minecraft/screen/ScreenHandler;close(Lnet/minecraft/entity/player/PlayerEntity;)V
-