Package net.minecraft.screen
Class LoomScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.LoomScreenHandler
- Mappings:
Namespace Name official bnl
intermediary net/minecraft/class_1726
named net/minecraft/screen/LoomScreenHandler
-
Field Summary
Modifier and TypeFieldDescription(package private) Slot
private ScreenHandlerContext
(package private) Slot
private static int
private static int
private static int
private static int
private Inventory
(package private) Runnable
(package private) long
private Inventory
private Slot
private Slot
(package private) Property
Fields inherited from class net.minecraft.screen.ScreenHandler
EMPTY_SPACE_SLOT_INDEX, field_30731, field_30732, field_30733, field_30734, field_30735, field_30736, field_30737, slots, syncId
-
Constructor Summary
ConstructorDescriptionLoomScreenHandler(int syncId, PlayerInventory playerInventory)
LoomScreenHandler(int syncId, PlayerInventory playerInventory, ScreenHandlerContext context)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canUse(PlayerEntity player)
void
close(PlayerEntity playerEntity)
int
boolean
onButtonClick(PlayerEntity player, int id)
void
onContentChanged(Inventory inventory)
void
setInventoryChangeListener(Runnable inventoryChangeListener)
transferSlot(PlayerEntity player, int index)
private void
Methods inherited from class net.minecraft.screen.ScreenHandler
addListener, addProperties, addProperty, addSlot, calculateComparatorOutput, calculateComparatorOutput, calculateStackSize, canInsertIntoSlot, canInsertIntoSlot, canInsertItemIntoSlot, canUse, checkDataCount, checkSize, copySharedSlots, disableSyncing, dropInventory, enableSyncing, endQuickCraft, getCursorStack, getSlot, getStacks, getType, insertItem, onSlotClick, packQuickCraftData, removeListener, sendContentUpdates, setCursorStack, setPreviousCursorStack, setPreviousTrackedSlot, setProperty, setStackInSlot, shouldQuickCraftContinue, syncState, unpackQuickCraftButton, unpackQuickCraftStage, updateSlotStacks, updateSyncHandler
-
Field Details
-
field_30826
private static final int field_30826- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official k
Lbnl;k:I
intermediary field_30826
Lnet/minecraft/class_1726;field_30826:I
named field_30826
Lnet/minecraft/screen/LoomScreenHandler;field_30826:I
-
field_30827
private static final int field_30827- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official l
Lbnl;l:I
intermediary field_30827
Lnet/minecraft/class_1726;field_30827:I
named field_30827
Lnet/minecraft/screen/LoomScreenHandler;field_30827:I
-
field_30828
private static final int field_30828- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official m
Lbnl;m:I
intermediary field_30828
Lnet/minecraft/class_1726;field_30828:I
named field_30828
Lnet/minecraft/screen/LoomScreenHandler;field_30828:I
-
field_30829
private static final int field_30829- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official n
Lbnl;n:I
intermediary field_30829
Lnet/minecraft/class_1726;field_30829:I
named field_30829
Lnet/minecraft/screen/LoomScreenHandler;field_30829:I
-
context
- Mappings:
Namespace Name Mixin selector official o
Lbnl;o:Lbmu;
intermediary field_17316
Lnet/minecraft/class_1726;field_17316:Lnet/minecraft/class_3914;
named context
Lnet/minecraft/screen/LoomScreenHandler;context:Lnet/minecraft/screen/ScreenHandlerContext;
-
selectedPattern
- Mappings:
Namespace Name Mixin selector official p
Lbnl;p:Lbmz;
intermediary field_17317
Lnet/minecraft/class_1726;field_17317:Lnet/minecraft/class_3915;
named selectedPattern
Lnet/minecraft/screen/LoomScreenHandler;selectedPattern:Lnet/minecraft/screen/Property;
-
inventoryChangeListener
Runnable inventoryChangeListener- Mappings:
Namespace Name Mixin selector official q
Lbnl;q:Ljava/lang/Runnable;
intermediary field_17318
Lnet/minecraft/class_1726;field_17318:Ljava/lang/Runnable;
named inventoryChangeListener
Lnet/minecraft/screen/LoomScreenHandler;inventoryChangeListener:Ljava/lang/Runnable;
-
bannerSlot
- Mappings:
Namespace Name Mixin selector official r
Lbnl;r:Lboa;
intermediary field_17319
Lnet/minecraft/class_1726;field_17319:Lnet/minecraft/class_1735;
named bannerSlot
Lnet/minecraft/screen/LoomScreenHandler;bannerSlot:Lnet/minecraft/screen/slot/Slot;
-
dyeSlot
- Mappings:
Namespace Name Mixin selector official s
Lbnl;s:Lboa;
intermediary field_17320
Lnet/minecraft/class_1726;field_17320:Lnet/minecraft/class_1735;
named dyeSlot
Lnet/minecraft/screen/LoomScreenHandler;dyeSlot:Lnet/minecraft/screen/slot/Slot;
-
patternSlot
- Mappings:
Namespace Name Mixin selector official t
Lbnl;t:Lboa;
intermediary field_17321
Lnet/minecraft/class_1726;field_17321:Lnet/minecraft/class_1735;
named patternSlot
Lnet/minecraft/screen/LoomScreenHandler;patternSlot:Lnet/minecraft/screen/slot/Slot;
-
outputSlot
- Mappings:
Namespace Name Mixin selector official u
Lbnl;u:Lboa;
intermediary field_17322
Lnet/minecraft/class_1726;field_17322:Lnet/minecraft/class_1735;
named outputSlot
Lnet/minecraft/screen/LoomScreenHandler;outputSlot:Lnet/minecraft/screen/slot/Slot;
-
lastTakeResultTime
long lastTakeResultTime- Mappings:
Namespace Name Mixin selector official v
Lbnl;v:J
intermediary field_20383
Lnet/minecraft/class_1726;field_20383:J
named lastTakeResultTime
Lnet/minecraft/screen/LoomScreenHandler;lastTakeResultTime:J
-
input
- Mappings:
Namespace Name Mixin selector official w
Lbnl;w:Lart;
intermediary field_7850
Lnet/minecraft/class_1726;field_7850:Lnet/minecraft/class_1263;
named input
Lnet/minecraft/screen/LoomScreenHandler;input:Lnet/minecraft/inventory/Inventory;
-
output
- Mappings:
Namespace Name Mixin selector official x
Lbnl;x:Lart;
intermediary field_17323
Lnet/minecraft/class_1726;field_17323:Lnet/minecraft/class_1263;
named output
Lnet/minecraft/screen/LoomScreenHandler;output:Lnet/minecraft/inventory/Inventory;
-
-
Constructor Details
-
LoomScreenHandler
- Mappings:
Namespace Name Mixin selector official <init>
Lbnl;<init>(ILbkc;)V
intermediary <init>
Lnet/minecraft/class_1726;<init>(ILnet/minecraft/class_1661;)V
named <init>
Lnet/minecraft/screen/LoomScreenHandler;<init>(ILnet/minecraft/entity/player/PlayerInventory;)V
-
LoomScreenHandler
public LoomScreenHandler(int syncId, PlayerInventory playerInventory, ScreenHandlerContext context)- Mappings:
Namespace Name Mixin selector official <init>
Lbnl;<init>(ILbkc;Lbmu;)V
intermediary <init>
Lnet/minecraft/class_1726;<init>(ILnet/minecraft/class_1661;Lnet/minecraft/class_3914;)V
named <init>
Lnet/minecraft/screen/LoomScreenHandler;<init>(ILnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/screen/ScreenHandlerContext;)V
-
-
Method Details
-
getSelectedPattern
public int getSelectedPattern()- Mappings:
Namespace Name Mixin selector official i
Lbnl;i()I
intermediary method_7647
Lnet/minecraft/class_1726;method_7647()I
named getSelectedPattern
Lnet/minecraft/screen/LoomScreenHandler;getSelectedPattern()I
-
canUse
- Specified by:
canUse
in classScreenHandler
- Mappings:
Namespace Name Mixin selector official a
Lbmj;a(Lbkd;)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
-
onButtonClick
- Overrides:
onButtonClick
in classScreenHandler
- Mappings:
Namespace Name Mixin selector official a
Lbmj;a(Lbkd;I)Z
intermediary method_7604
Lnet/minecraft/class_1703;method_7604(Lnet/minecraft/class_1657;I)Z
named onButtonClick
Lnet/minecraft/screen/ScreenHandler;onButtonClick(Lnet/minecraft/entity/player/PlayerEntity;I)Z
-
onContentChanged
- Overrides:
onContentChanged
in classScreenHandler
- Mappings:
Namespace Name Mixin selector official a
Lbmj;a(Lart;)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
-
setInventoryChangeListener
- Mappings:
Namespace Name Mixin selector official a
Lbnl;a(Ljava/lang/Runnable;)V
intermediary method_17423
Lnet/minecraft/class_1726;method_17423(Ljava/lang/Runnable;)V
named setInventoryChangeListener
Lnet/minecraft/screen/LoomScreenHandler;setInventoryChangeListener(Ljava/lang/Runnable;)V
-
transferSlot
- Overrides:
transferSlot
in classScreenHandler
- Mappings:
Namespace Name Mixin selector official b
Lbmj;b(Lbkd;I)Lbqp;
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
Lbmj;b(Lbkd;)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
-
updateOutputSlot
private void updateOutputSlot()- Mappings:
Namespace Name Mixin selector official n
Lbnl;n()V
intermediary method_7648
Lnet/minecraft/class_1726;method_7648()V
named updateOutputSlot
Lnet/minecraft/screen/LoomScreenHandler;updateOutputSlot()V
-
getBannerSlot
- Mappings:
Namespace Name Mixin selector official j
Lbnl;j()Lboa;
intermediary method_17428
Lnet/minecraft/class_1726;method_17428()Lnet/minecraft/class_1735;
named getBannerSlot
Lnet/minecraft/screen/LoomScreenHandler;getBannerSlot()Lnet/minecraft/screen/slot/Slot;
-
getDyeSlot
- Mappings:
Namespace Name Mixin selector official k
Lbnl;k()Lboa;
intermediary method_17429
Lnet/minecraft/class_1726;method_17429()Lnet/minecraft/class_1735;
named getDyeSlot
Lnet/minecraft/screen/LoomScreenHandler;getDyeSlot()Lnet/minecraft/screen/slot/Slot;
-
getPatternSlot
- Mappings:
Namespace Name Mixin selector official l
Lbnl;l()Lboa;
intermediary method_17430
Lnet/minecraft/class_1726;method_17430()Lnet/minecraft/class_1735;
named getPatternSlot
Lnet/minecraft/screen/LoomScreenHandler;getPatternSlot()Lnet/minecraft/screen/slot/Slot;
-
getOutputSlot
- Mappings:
Namespace Name Mixin selector official m
Lbnl;m()Lboa;
intermediary method_17431
Lnet/minecraft/class_1726;method_17431()Lnet/minecraft/class_1735;
named getOutputSlot
Lnet/minecraft/screen/LoomScreenHandler;getOutputSlot()Lnet/minecraft/screen/slot/Slot;
-