Class LoomScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.ingame.HandledScreen<LoomScreenHandler>
net.minecraft.client.gui.screen.ingame.LoomScreen
- All Implemented Interfaces:
 Drawable,Element,Navigable,ParentElement,ScreenHandlerProvider<LoomScreenHandler>
- Mappings:
 Namespace Name named net/minecraft/client/gui/screen/ingame/LoomScreenintermediary net/minecraft/class_494official ghf
- 
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData - 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ItemStackprivate static final Identifierprivate ModelPartprivate @Nullable BannerPatternsComponentprivate booleanprivate ItemStackprivate static final Identifierprivate static final Identifierprivate static final floatprivate static final floatprivate static final floatprivate booleanprivate ItemStackprivate static final intprivate static final Identifierprivate static final intprivate static final intprivate static final intprivate static final intprivate static final Identifierprivate static final Identifierprivate static final Identifierprivate static final intprivate static final intprivate static final intprivate booleanprivate static final Identifierprivate static final Identifierprivate floatprivate static final Identifierprivate intFields inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen
BACKGROUND_TEXTURE, backgroundHeight, backgroundWidth, cursorDragging, cursorDragSlots, field_52802, field_52803, focusedSlot, handler, playerInventoryTitle, playerInventoryTitleX, playerInventoryTitleY, titleX, titleY, x, yFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, field_60460, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL - 
Constructor Summary
ConstructorsConstructorDescriptionLoomScreen(LoomScreenHandler screenHandler, PlayerInventory inventory, Text title)  - 
Method Summary
Modifier and TypeMethodDescriptionprotected voiddrawBackground(DrawContext context, float deltaTicks, int mouseX, int mouseY) private voiddrawBanner(DrawContext context, int x, int y, Sprite sprite) private intgetRows()protected voidinit()Called when a screen should be initialized.protected booleanisClickOutsideBounds(double mouseX, double mouseY, int left, int top, int button) booleanmouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured.booleanmouseDragged(double mouseX, double mouseY, int button, double deltaX, double deltaY) Callback for when a mouse button drag event has been captured.booleanmouseScrolled(double mouseX, double mouseY, double horizontalAmount, double verticalAmount) Callback for when a mouse button scroll event has been captured.private voidvoidrender(DrawContext context, int mouseX, int mouseY, float deltaTicks) Methods inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen
addTooltipSubmenuHandler, close, drawForeground, drawMouseoverTooltip, drawSlot, drawSlots, endTouchDrag, getScreenHandler, getTooltipFromItem, handledScreenTick, handleHotbarKeyPressed, isPointWithinBounds, keyPressed, mouseReleased, onMouseClick, onMouseClick, onSlotChangedState, removed, renderBackground, renderCursorStack, renderLetGoTouchStack, renderMain, shouldPause, tickMethods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleBasicClickEvent, handleClickEvent, handleClickEvent, handleOpenUri, handleRunCommand, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, refreshWidgetPositions, remove, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setWidgetAlpha, shouldCloseOnEsc, showsStatusEffects, switchFocus, updateNarratorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
getBorder, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, setFocused 
- 
Field Details
- 
BANNER_SLOT_TEXTURE
- Mappings:
 Namespace Name Mixin selector named BANNER_SLOT_TEXTURELnet/minecraft/client/gui/screen/ingame/LoomScreen;BANNER_SLOT_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_45481Lnet/minecraft/class_494;field_45481:Lnet/minecraft/class_2960;official ELghf;E:Lame;
 - 
DYE_SLOT_TEXTURE
- Mappings:
 Namespace Name Mixin selector named DYE_SLOT_TEXTURELnet/minecraft/client/gui/screen/ingame/LoomScreen;DYE_SLOT_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_45482Lnet/minecraft/class_494;field_45482:Lnet/minecraft/class_2960;official FLghf;F:Lame;
 - 
PATTERN_SLOT_TEXTURE
- Mappings:
 Namespace Name Mixin selector named PATTERN_SLOT_TEXTURELnet/minecraft/client/gui/screen/ingame/LoomScreen;PATTERN_SLOT_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_45483Lnet/minecraft/class_494;field_45483:Lnet/minecraft/class_2960;official GLghf;G:Lame;
 - 
SCROLLER_TEXTURE
- Mappings:
 Namespace Name Mixin selector named SCROLLER_TEXTURELnet/minecraft/client/gui/screen/ingame/LoomScreen;SCROLLER_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_45476Lnet/minecraft/class_494;field_45476:Lnet/minecraft/class_2960;official HLghf;H:Lame;
 - 
SCROLLER_DISABLED_TEXTURE
- Mappings:
 Namespace Name Mixin selector named SCROLLER_DISABLED_TEXTURELnet/minecraft/client/gui/screen/ingame/LoomScreen;SCROLLER_DISABLED_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_45477Lnet/minecraft/class_494;field_45477:Lnet/minecraft/class_2960;official ILghf;I:Lame;
 - 
PATTERN_SELECTED_TEXTURE
- Mappings:
 Namespace Name Mixin selector named PATTERN_SELECTED_TEXTURELnet/minecraft/client/gui/screen/ingame/LoomScreen;PATTERN_SELECTED_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_45478Lnet/minecraft/class_494;field_45478:Lnet/minecraft/class_2960;official JLghf;J:Lame;
 - 
PATTERN_HIGHLIGHTED_TEXTURE
- Mappings:
 Namespace Name Mixin selector named PATTERN_HIGHLIGHTED_TEXTURELnet/minecraft/client/gui/screen/ingame/LoomScreen;PATTERN_HIGHLIGHTED_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_45479Lnet/minecraft/class_494;field_45479:Lnet/minecraft/class_2960;official KLghf;K:Lame;
 - 
PATTERN_TEXTURE
- Mappings:
 Namespace Name Mixin selector named PATTERN_TEXTURELnet/minecraft/client/gui/screen/ingame/LoomScreen;PATTERN_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_45480Lnet/minecraft/class_494;field_45480:Lnet/minecraft/class_2960;official LLghf;L:Lame;
 - 
ERROR_TEXTURE
- Mappings:
 Namespace Name Mixin selector named ERROR_TEXTURELnet/minecraft/client/gui/screen/ingame/LoomScreen;ERROR_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_46186Lnet/minecraft/class_494;field_46186:Lnet/minecraft/class_2960;official MLghf;M:Lame;
 - 
TEXTURE
- Mappings:
 Namespace Name Mixin selector named TEXTURELnet/minecraft/client/gui/screen/ingame/LoomScreen;TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_2966Lnet/minecraft/class_494;field_2966:Lnet/minecraft/class_2960;official NLghf;N:Lame;
 - 
PATTERN_LIST_COLUMNS
private static final int PATTERN_LIST_COLUMNS- See Also:
 - Mappings:
 Namespace Name Mixin selector named PATTERN_LIST_COLUMNSLnet/minecraft/client/gui/screen/ingame/LoomScreen;PATTERN_LIST_COLUMNS:Iintermediary field_32346Lnet/minecraft/class_494;field_32346:Iofficial OLghf;O:I
 - 
PATTERN_LIST_ROWS
private static final int PATTERN_LIST_ROWS- See Also:
 - Mappings:
 Namespace Name Mixin selector named PATTERN_LIST_ROWSLnet/minecraft/client/gui/screen/ingame/LoomScreen;PATTERN_LIST_ROWS:Iintermediary field_32347Lnet/minecraft/class_494;field_32347:Iofficial PLghf;P:I
 - 
SCROLLBAR_WIDTH
private static final int SCROLLBAR_WIDTH- See Also:
 - Mappings:
 Namespace Name Mixin selector named SCROLLBAR_WIDTHLnet/minecraft/client/gui/screen/ingame/LoomScreen;SCROLLBAR_WIDTH:Iintermediary field_32348Lnet/minecraft/class_494;field_32348:Iofficial QLghf;Q:I
 - 
SCROLLBAR_HEIGHT
private static final int SCROLLBAR_HEIGHT- See Also:
 - Mappings:
 Namespace Name Mixin selector named SCROLLBAR_HEIGHTLnet/minecraft/client/gui/screen/ingame/LoomScreen;SCROLLBAR_HEIGHT:Iintermediary field_32349Lnet/minecraft/class_494;field_32349:Iofficial RLghf;R:I
 - 
PATTERN_ENTRY_SIZE
private static final int PATTERN_ENTRY_SIZE- See Also:
 - Mappings:
 Namespace Name Mixin selector named PATTERN_ENTRY_SIZELnet/minecraft/client/gui/screen/ingame/LoomScreen;PATTERN_ENTRY_SIZE:Iintermediary field_32350Lnet/minecraft/class_494;field_32350:Iofficial SLghf;S:I
 - 
SCROLLBAR_AREA_HEIGHT
private static final int SCROLLBAR_AREA_HEIGHT- See Also:
 - Mappings:
 Namespace Name Mixin selector named SCROLLBAR_AREA_HEIGHTLnet/minecraft/client/gui/screen/ingame/LoomScreen;SCROLLBAR_AREA_HEIGHT:Iintermediary field_32351Lnet/minecraft/class_494;field_32351:Iofficial TLghf;T:I
 - 
PATTERN_LIST_OFFSET_X
private static final int PATTERN_LIST_OFFSET_X- See Also:
 - Mappings:
 Namespace Name Mixin selector named PATTERN_LIST_OFFSET_XLnet/minecraft/client/gui/screen/ingame/LoomScreen;PATTERN_LIST_OFFSET_X:Iintermediary field_32352Lnet/minecraft/class_494;field_32352:Iofficial ULghf;U:I
 - 
PATTERN_LIST_OFFSET_Y
private static final int PATTERN_LIST_OFFSET_Y- See Also:
 - Mappings:
 Namespace Name Mixin selector named PATTERN_LIST_OFFSET_YLnet/minecraft/client/gui/screen/ingame/LoomScreen;PATTERN_LIST_OFFSET_Y:Iintermediary field_32353Lnet/minecraft/class_494;field_32353:Iofficial VLghf;V:I
 - 
field_59943
private static final float field_59943- See Also:
 - Mappings:
 Namespace Name Mixin selector named field_59943Lnet/minecraft/client/gui/screen/ingame/LoomScreen;field_59943:Fintermediary field_59943Lnet/minecraft/class_494;field_59943:Fofficial WLghf;W:F
 - 
field_59944
private static final float field_59944- See Also:
 - Mappings:
 Namespace Name Mixin selector named field_59944Lnet/minecraft/client/gui/screen/ingame/LoomScreen;field_59944:Fintermediary field_59944Lnet/minecraft/class_494;field_59944:Fofficial XLghf;X:F
 - 
field_59945
private static final float field_59945- See Also:
 - Mappings:
 Namespace Name Mixin selector named field_59945Lnet/minecraft/client/gui/screen/ingame/LoomScreen;field_59945:Fintermediary field_59945Lnet/minecraft/class_494;field_59945:Fofficial YLghf;Y:F
 - 
bannerField
- Mappings:
 Namespace Name Mixin selector named bannerFieldLnet/minecraft/client/gui/screen/ingame/LoomScreen;bannerField:Lnet/minecraft/client/model/ModelPart;intermediary field_21694Lnet/minecraft/class_494;field_21694:Lnet/minecraft/class_630;official ZLghf;Z:Lgqn;
 - 
bannerPatterns
- Mappings:
 Namespace Name Mixin selector named bannerPatternsLnet/minecraft/client/gui/screen/ingame/LoomScreen;bannerPatterns:Lnet/minecraft/component/type/BannerPatternsComponent;intermediary field_21841Lnet/minecraft/class_494;field_21841:Lnet/minecraft/class_9307;official aaLghf;aa:Leap;
 - 
banner
- Mappings:
 Namespace Name Mixin selector named bannerLnet/minecraft/client/gui/screen/ingame/LoomScreen;banner:Lnet/minecraft/item/ItemStack;intermediary field_2955Lnet/minecraft/class_494;field_2955:Lnet/minecraft/class_1799;official abLghf;ab:Ldcv;
 - 
dye
- Mappings:
 Namespace Name Mixin selector named dyeLnet/minecraft/client/gui/screen/ingame/LoomScreen;dye:Lnet/minecraft/item/ItemStack;intermediary field_2954Lnet/minecraft/class_494;field_2954:Lnet/minecraft/class_1799;official acLghf;ac:Ldcv;
 - 
pattern
- Mappings:
 Namespace Name Mixin selector named patternLnet/minecraft/client/gui/screen/ingame/LoomScreen;pattern:Lnet/minecraft/item/ItemStack;intermediary field_2967Lnet/minecraft/class_494;field_2967:Lnet/minecraft/class_1799;official adLghf;ad:Ldcv;
 - 
canApplyDyePattern
private boolean canApplyDyePattern- Mappings:
 Namespace Name Mixin selector named canApplyDyePatternLnet/minecraft/client/gui/screen/ingame/LoomScreen;canApplyDyePattern:Zintermediary field_2965Lnet/minecraft/class_494;field_2965:Zofficial aeLghf;ae:Z
 - 
hasTooManyPatterns
private boolean hasTooManyPatterns- Mappings:
 Namespace Name Mixin selector named hasTooManyPatternsLnet/minecraft/client/gui/screen/ingame/LoomScreen;hasTooManyPatterns:Zintermediary field_2961Lnet/minecraft/class_494;field_2961:Zofficial afLghf;af:Z
 - 
scrollPosition
private float scrollPosition- Mappings:
 Namespace Name Mixin selector named scrollPositionLnet/minecraft/client/gui/screen/ingame/LoomScreen;scrollPosition:Fintermediary field_2968Lnet/minecraft/class_494;field_2968:Fofficial agLghf;ag:F
 - 
scrollbarClicked
private boolean scrollbarClicked- Mappings:
 Namespace Name Mixin selector named scrollbarClickedLnet/minecraft/client/gui/screen/ingame/LoomScreen;scrollbarClicked:Zintermediary field_2958Lnet/minecraft/class_494;field_2958:Zofficial ahLghf;ah:Z
 - 
visibleTopRow
private int visibleTopRow- Mappings:
 Namespace Name Mixin selector named visibleTopRowLnet/minecraft/client/gui/screen/ingame/LoomScreen;visibleTopRow:Iintermediary field_39190Lnet/minecraft/class_494;field_39190:Iofficial aiLghf;ai:I
 
 - 
 - 
Constructor Details
- 
LoomScreen
- Mappings:
 Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/ingame/LoomScreen;<init>(Lnet/minecraft/screen/LoomScreenHandler;Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/text/Text;)Vintermediary <init>Lnet/minecraft/class_494;<init>(Lnet/minecraft/class_1726;Lnet/minecraft/class_1661;Lnet/minecraft/class_2561;)Vofficial <init>Lghf;<init>(Lczt;Lcus;Lxo;)V
 
 - 
 - 
Method Details
- 
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
- Overrides:
 initin classHandledScreen<LoomScreenHandler>- Mappings:
 Namespace Name Mixin selector named initLnet/minecraft/client/gui/screen/Screen;init()Vintermediary method_25426Lnet/minecraft/class_437;method_25426()Vofficial aV_Lget;aV_()V
 - 
render
- Specified by:
 renderin interfaceDrawable- Overrides:
 renderin classHandledScreen<LoomScreenHandler>- Mappings:
 Namespace Name Mixin selector named renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vofficial aLfys;a(Lfxb;IIF)V
 - 
getRows
private int getRows()- Mappings:
 Namespace Name Mixin selector named getRowsLnet/minecraft/client/gui/screen/ingame/LoomScreen;getRows()Iintermediary method_43774Lnet/minecraft/class_494;method_43774()Iofficial ELghf;E()I
 - 
drawBackground
- Specified by:
 drawBackgroundin classHandledScreen<LoomScreenHandler>- Mappings:
 Namespace Name Mixin selector named drawBackgroundLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawBackground(Lnet/minecraft/client/gui/DrawContext;FII)Vintermediary method_2389Lnet/minecraft/class_465;method_2389(Lnet/minecraft/class_332;FII)Vofficial aLgfz;a(Lfxb;FII)V
 - 
drawBanner
- Mappings:
 Namespace Name Mixin selector named drawBannerLnet/minecraft/client/gui/screen/ingame/LoomScreen;drawBanner(Lnet/minecraft/client/gui/DrawContext;IILnet/minecraft/client/texture/Sprite;)Vintermediary method_22692Lnet/minecraft/class_494;method_22692(Lnet/minecraft/class_332;IILnet/minecraft/class_1058;)Vofficial aLghf;a(Lfxb;IILhrs;)V
 - 
mouseClicked
public boolean mouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured. The button number is identified by the constants inGLFWclass.- Specified by:
 mouseClickedin interfaceElement- Specified by:
 mouseClickedin interfaceParentElement- Overrides:
 mouseClickedin classHandledScreen<LoomScreenHandler>- Parameters:
 mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousebutton- the mouse button number- Returns:
 trueto indicate that the event handling is successful/valid- See Also:
 - Mappings:
 Namespace Name Mixin selector named mouseClickedLnet/minecraft/client/gui/Element;mouseClicked(DDI)Zintermediary method_25402Lnet/minecraft/class_364;method_25402(DDI)Zofficial aLfzn;a(DDI)Z
 - 
mouseDragged
public boolean mouseDragged(double mouseX, double mouseY, int button, double deltaX, double deltaY) Callback for when a mouse button drag event has been captured. The button number is identified by the constants inGLFWclass.- Specified by:
 mouseDraggedin interfaceElement- Specified by:
 mouseDraggedin interfaceParentElement- Overrides:
 mouseDraggedin classHandledScreen<LoomScreenHandler>- Parameters:
 mouseX- the current X coordinate of the mousemouseY- the current Y coordinate of the mousebutton- the mouse button numberdeltaX- the difference of the current X with the previous X coordinatedeltaY- the difference of the current Y with the previous Y coordinate- Returns:
 trueto indicate that the event handling is successful/valid- See Also:
 - Mappings:
 Namespace Name Mixin selector named mouseDraggedLnet/minecraft/client/gui/Element;mouseDragged(DDIDD)Zintermediary method_25403Lnet/minecraft/class_364;method_25403(DDIDD)Zofficial aLfzn;a(DDIDD)Z
 - 
mouseScrolled
public boolean mouseScrolled(double mouseX, double mouseY, double horizontalAmount, double verticalAmount) Callback for when a mouse button scroll event has been captured.- Specified by:
 mouseScrolledin interfaceElement- Specified by:
 mouseScrolledin interfaceParentElement- Overrides:
 mouseScrolledin classHandledScreen<LoomScreenHandler>- Parameters:
 mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousehorizontalAmount- the horizontal scroll amountverticalAmount- the vertical scroll amount- Returns:
 trueto indicate that the event handling is successful/valid- See Also:
 - Mappings:
 Namespace Name Mixin selector named mouseScrolledLnet/minecraft/client/gui/Element;mouseScrolled(DDDD)Zintermediary method_25401Lnet/minecraft/class_364;method_25401(DDDD)Zofficial aLfzn;a(DDDD)Z
 - 
isClickOutsideBounds
protected boolean isClickOutsideBounds(double mouseX, double mouseY, int left, int top, int button) - Overrides:
 isClickOutsideBoundsin classHandledScreen<LoomScreenHandler>- Mappings:
 Namespace Name Mixin selector named isClickOutsideBoundsLnet/minecraft/client/gui/screen/ingame/HandledScreen;isClickOutsideBounds(DDIII)Zintermediary method_2381Lnet/minecraft/class_465;method_2381(DDIII)Zofficial aLgfz;a(DDIII)Z
 - 
onInventoryChanged
private void onInventoryChanged()- Mappings:
 Namespace Name Mixin selector named onInventoryChangedLnet/minecraft/client/gui/screen/ingame/LoomScreen;onInventoryChanged()Vintermediary method_17576Lnet/minecraft/class_494;method_17576()Vofficial FLghf;F()V
 
 -