Package net.minecraft.screen
Class LoomScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.LoomScreenHandler
- Mappings:
Namespace Name official brrintermediary net/minecraft/class_1726named net/minecraft/screen/LoomScreenHandler
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Slotprivate final ScreenHandlerContext(package private) final Slotprivate static final intprivate static final intprivate static final intprivate static final intprivate final Inventory(package private) Runnable(package private) longprivate final Inventoryprivate final Slotprivate final Slot(package private) final PropertyFields 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
ConstructorsConstructorDescriptionLoomScreenHandler(int syncId, PlayerInventory playerInventory) LoomScreenHandler(int syncId, PlayerInventory playerInventory, ScreenHandlerContext context) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanUse(PlayerEntity player) voidclose(PlayerEntity player) intbooleanonButtonClick(PlayerEntity player, int id) voidonContentChanged(Inventory inventory) voidsetInventoryChangeListener(Runnable inventoryChangeListener) transferSlot(PlayerEntity player, int index) private voidMethods 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, getRevision, getSlot, getSlotIndex, getStacks, getType, insertItem, isValid, nextRevision, onSlotClick, packQuickCraftData, removeListener, sendContentUpdates, setCursorStack, setPreviousCursorStack, setPreviousTrackedSlot, setPreviousTrackedSlotMutable, setProperty, setStackInSlot, shouldQuickCraftContinue, syncState, unpackQuickCraftButton, unpackQuickCraftStage, updateSlotStacks, updateSyncHandler, updateToClient
-
Field Details
-
field_30826
private static final int field_30826- See Also:
- Mappings:
Namespace Name Mixin selector official kLbrr;k:Iintermediary field_30826Lnet/minecraft/class_1726;field_30826:Inamed field_30826Lnet/minecraft/screen/LoomScreenHandler;field_30826:I
-
field_30827
private static final int field_30827- See Also:
- Mappings:
Namespace Name Mixin selector official lLbrr;l:Iintermediary field_30827Lnet/minecraft/class_1726;field_30827:Inamed field_30827Lnet/minecraft/screen/LoomScreenHandler;field_30827:I
-
field_30828
private static final int field_30828- See Also:
- Mappings:
Namespace Name Mixin selector official mLbrr;m:Iintermediary field_30828Lnet/minecraft/class_1726;field_30828:Inamed field_30828Lnet/minecraft/screen/LoomScreenHandler;field_30828:I
-
field_30829
private static final int field_30829- See Also:
- Mappings:
Namespace Name Mixin selector official nLbrr;n:Iintermediary field_30829Lnet/minecraft/class_1726;field_30829:Inamed field_30829Lnet/minecraft/screen/LoomScreenHandler;field_30829:I
-
context
- Mappings:
Namespace Name Mixin selector official oLbrr;o:Lbra;intermediary field_17316Lnet/minecraft/class_1726;field_17316:Lnet/minecraft/class_3914;named contextLnet/minecraft/screen/LoomScreenHandler;context:Lnet/minecraft/screen/ScreenHandlerContext;
-
selectedPattern
- Mappings:
Namespace Name Mixin selector official pLbrr;p:Lbrf;intermediary field_17317Lnet/minecraft/class_1726;field_17317:Lnet/minecraft/class_3915;named selectedPatternLnet/minecraft/screen/LoomScreenHandler;selectedPattern:Lnet/minecraft/screen/Property;
-
inventoryChangeListener
Runnable inventoryChangeListener- Mappings:
Namespace Name Mixin selector official qLbrr;q:Ljava/lang/Runnable;intermediary field_17318Lnet/minecraft/class_1726;field_17318:Ljava/lang/Runnable;named inventoryChangeListenerLnet/minecraft/screen/LoomScreenHandler;inventoryChangeListener:Ljava/lang/Runnable;
-
bannerSlot
- Mappings:
Namespace Name Mixin selector official rLbrr;r:Lbsg;intermediary field_17319Lnet/minecraft/class_1726;field_17319:Lnet/minecraft/class_1735;named bannerSlotLnet/minecraft/screen/LoomScreenHandler;bannerSlot:Lnet/minecraft/screen/slot/Slot;
-
dyeSlot
- Mappings:
Namespace Name Mixin selector official sLbrr;s:Lbsg;intermediary field_17320Lnet/minecraft/class_1726;field_17320:Lnet/minecraft/class_1735;named dyeSlotLnet/minecraft/screen/LoomScreenHandler;dyeSlot:Lnet/minecraft/screen/slot/Slot;
-
patternSlot
- Mappings:
Namespace Name Mixin selector official tLbrr;t:Lbsg;intermediary field_17321Lnet/minecraft/class_1726;field_17321:Lnet/minecraft/class_1735;named patternSlotLnet/minecraft/screen/LoomScreenHandler;patternSlot:Lnet/minecraft/screen/slot/Slot;
-
outputSlot
- Mappings:
Namespace Name Mixin selector official uLbrr;u:Lbsg;intermediary field_17322Lnet/minecraft/class_1726;field_17322:Lnet/minecraft/class_1735;named outputSlotLnet/minecraft/screen/LoomScreenHandler;outputSlot:Lnet/minecraft/screen/slot/Slot;
-
lastTakeResultTime
long lastTakeResultTime- Mappings:
Namespace Name Mixin selector official vLbrr;v:Jintermediary field_20383Lnet/minecraft/class_1726;field_20383:Jnamed lastTakeResultTimeLnet/minecraft/screen/LoomScreenHandler;lastTakeResultTime:J
-
input
- Mappings:
Namespace Name Mixin selector official wLbrr;w:Lawa;intermediary field_7850Lnet/minecraft/class_1726;field_7850:Lnet/minecraft/class_1263;named inputLnet/minecraft/screen/LoomScreenHandler;input:Lnet/minecraft/inventory/Inventory;
-
output
- Mappings:
Namespace Name Mixin selector official xLbrr;x:Lawa;intermediary field_17323Lnet/minecraft/class_1726;field_17323:Lnet/minecraft/class_1263;named outputLnet/minecraft/screen/LoomScreenHandler;output:Lnet/minecraft/inventory/Inventory;
-
-
Constructor Details
-
LoomScreenHandler
- Mappings:
Namespace Name Mixin selector official <init>Lbrr;<init>(ILboi;)Vintermediary <init>Lnet/minecraft/class_1726;<init>(ILnet/minecraft/class_1661;)Vnamed <init>Lnet/minecraft/screen/LoomScreenHandler;<init>(ILnet/minecraft/entity/player/PlayerInventory;)V
-
LoomScreenHandler
- Mappings:
Namespace Name Mixin selector official <init>Lbrr;<init>(ILboi;Lbra;)Vintermediary <init>Lnet/minecraft/class_1726;<init>(ILnet/minecraft/class_1661;Lnet/minecraft/class_3914;)Vnamed <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 lLbrr;l()Iintermediary method_7647Lnet/minecraft/class_1726;method_7647()Inamed getSelectedPatternLnet/minecraft/screen/LoomScreenHandler;getSelectedPattern()I
-
canUse
- Specified by:
canUsein classScreenHandler- Mappings:
Namespace Name Mixin selector official aLbqp;a(Lboj;)Zintermediary method_7597Lnet/minecraft/class_1703;method_7597(Lnet/minecraft/class_1657;)Znamed canUseLnet/minecraft/screen/ScreenHandler;canUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
onButtonClick
- Overrides:
onButtonClickin classScreenHandler- Mappings:
Namespace Name Mixin selector official aLbqp;a(Lboj;I)Zintermediary method_7604Lnet/minecraft/class_1703;method_7604(Lnet/minecraft/class_1657;I)Znamed onButtonClickLnet/minecraft/screen/ScreenHandler;onButtonClick(Lnet/minecraft/entity/player/PlayerEntity;I)Z
-
onContentChanged
- Overrides:
onContentChangedin classScreenHandler- Mappings:
Namespace Name Mixin selector official aLbqp;a(Lawa;)Vintermediary method_7609Lnet/minecraft/class_1703;method_7609(Lnet/minecraft/class_1263;)Vnamed onContentChangedLnet/minecraft/screen/ScreenHandler;onContentChanged(Lnet/minecraft/inventory/Inventory;)V
-
setInventoryChangeListener
- Mappings:
Namespace Name Mixin selector official aLbrr;a(Ljava/lang/Runnable;)Vintermediary method_17423Lnet/minecraft/class_1726;method_17423(Ljava/lang/Runnable;)Vnamed setInventoryChangeListenerLnet/minecraft/screen/LoomScreenHandler;setInventoryChangeListener(Ljava/lang/Runnable;)V
-
transferSlot
- Overrides:
transferSlotin classScreenHandler- Mappings:
Namespace Name Mixin selector official bLbqp;b(Lboj;I)Lbuw;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 bLbqp;b(Lboj;)Vintermediary method_7595Lnet/minecraft/class_1703;method_7595(Lnet/minecraft/class_1657;)Vnamed closeLnet/minecraft/screen/ScreenHandler;close(Lnet/minecraft/entity/player/PlayerEntity;)V
-
updateOutputSlot
private void updateOutputSlot()- Mappings:
Namespace Name Mixin selector official qLbrr;q()Vintermediary method_7648Lnet/minecraft/class_1726;method_7648()Vnamed updateOutputSlotLnet/minecraft/screen/LoomScreenHandler;updateOutputSlot()V
-
getBannerSlot
- Mappings:
Namespace Name Mixin selector official mLbrr;m()Lbsg;intermediary method_17428Lnet/minecraft/class_1726;method_17428()Lnet/minecraft/class_1735;named getBannerSlotLnet/minecraft/screen/LoomScreenHandler;getBannerSlot()Lnet/minecraft/screen/slot/Slot;
-
getDyeSlot
- Mappings:
Namespace Name Mixin selector official nLbrr;n()Lbsg;intermediary method_17429Lnet/minecraft/class_1726;method_17429()Lnet/minecraft/class_1735;named getDyeSlotLnet/minecraft/screen/LoomScreenHandler;getDyeSlot()Lnet/minecraft/screen/slot/Slot;
-
getPatternSlot
- Mappings:
Namespace Name Mixin selector official oLbrr;o()Lbsg;intermediary method_17430Lnet/minecraft/class_1726;method_17430()Lnet/minecraft/class_1735;named getPatternSlotLnet/minecraft/screen/LoomScreenHandler;getPatternSlot()Lnet/minecraft/screen/slot/Slot;
-
getOutputSlot
- Mappings:
Namespace Name Mixin selector official pLbrr;p()Lbsg;intermediary method_17431Lnet/minecraft/class_1726;method_17431()Lnet/minecraft/class_1735;named getOutputSlotLnet/minecraft/screen/LoomScreenHandler;getOutputSlot()Lnet/minecraft/screen/slot/Slot;
-