Class LoomScreen
java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.inventory.AbstractContainerScreen<LoomMenu>
net.minecraft.client.gui.screens.inventory.LoomScreen
- All Implemented Interfaces:
- ContainerEventHandler,- GuiEventListener,- Renderable,- MenuAccess<LoomMenu>
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.client.gui.screens.ScreenScreen.NarratableSearchResult
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate ItemStackprivate static final ResourceLocationprivate booleanprivate ItemStackprivate ModelPartprivate booleanprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate ItemStackprivate List<com.mojang.datafixers.util.Pair<Holder<BannerPattern>,DyeColor>> private static final intprivate static final intprivate static final intprivate booleanprivate floatprivate intFields inherited from class net.minecraft.client.gui.screens.inventory.AbstractContainerScreenhoveredSlot, imageHeight, imageWidth, INVENTORY_LOCATION, inventoryLabelX, inventoryLabelY, isQuickCrafting, leftPos, menu, playerInventoryTitle, quickCraftSlots, SLOT_ITEM_BLIT_OFFSET, slotColor, titleLabelX, titleLabelY, topPosFields inherited from class net.minecraft.client.gui.screens.Screenfont, height, itemRenderer, minecraft, passEvents, renderables, title, widthFields inherited from class net.minecraft.client.gui.GuiComponentBACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATIONFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListenerDOUBLE_CLICK_THRESHOLD_MS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate voidprotected booleanhasClickedOutside(double p_99093_, double p_99094_, int p_99095_, int p_99096_, int p_99097_) protected voidinit()booleanmouseClicked(double p_99083_, double p_99084_, int p_99085_) booleanmouseDragged(double p_99087_, double p_99088_, int p_99089_, double p_99090_, double p_99091_) booleanmouseScrolled(double p_99079_, double p_99080_, double p_99081_) voidprotected voidprivate voidrenderPattern(Holder<BannerPattern> p_232825_, int p_232826_, int p_232827_) private intMethods inherited from class net.minecraft.client.gui.screens.inventory.AbstractContainerScreencheckHotbarKeyPressed, clearDraggingState, containerTick, getGuiLeft, getGuiTop, getMenu, getSlotColor, getSlotUnderMouse, getXSize, getYSize, isHovering, isPauseScreen, keyPressed, mouseReleased, onClose, removed, renderLabels, renderSlotHighlight, renderSlotHighlight, renderTooltip, slotClicked, tickMethods inherited from class net.minecraft.client.gui.screens.ScreenaddRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, children, clearWidgets, findNarratableWidget, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrationEnabled, onFilesDrop, rebuildWidgets, removeWidget, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandlergetFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.GuiComponentblit, blit, blit, blit, blit, blitOutlineBlack, disableScissor, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, enableScissor, fill, fillGradient, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLineMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandlerchangeFocus, charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, setInitialFocusMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListenermouseMoved
- 
Field Details- 
BG_LOCATION
- 
PATTERN_COLUMNSprivate static final int PATTERN_COLUMNS- See Also:
 
- 
PATTERN_ROWSprivate static final int PATTERN_ROWS- See Also:
 
- 
SCROLLER_WIDTHprivate static final int SCROLLER_WIDTH- See Also:
 
- 
SCROLLER_HEIGHTprivate static final int SCROLLER_HEIGHT- See Also:
 
- 
PATTERN_IMAGE_SIZEprivate static final int PATTERN_IMAGE_SIZE- See Also:
 
- 
SCROLLER_FULL_HEIGHTprivate static final int SCROLLER_FULL_HEIGHT- See Also:
 
- 
PATTERNS_Xprivate static final int PATTERNS_X- See Also:
 
- 
PATTERNS_Yprivate static final int PATTERNS_Y- See Also:
 
- 
flag
- 
resultBannerPatterns@Nullable private List<com.mojang.datafixers.util.Pair<Holder<BannerPattern>,DyeColor>> resultBannerPatterns
- 
bannerStack
- 
dyeStack
- 
patternStack
- 
displayPatternsprivate boolean displayPatterns
- 
hasMaxPatternsprivate boolean hasMaxPatterns
- 
scrollOffsprivate float scrollOffs
- 
scrollingprivate boolean scrolling
- 
startRowprivate int startRow
 
- 
- 
Constructor Details- 
LoomScreen
 
- 
- 
Method Details- 
initprotected void init()- Overrides:
- initin class- AbstractContainerScreen<LoomMenu>
 
- 
render- Specified by:
- renderin interface- Renderable
- Overrides:
- renderin class- AbstractContainerScreen<LoomMenu>
 
- 
totalRowCountprivate int totalRowCount()
- 
renderBg- Specified by:
- renderBgin class- AbstractContainerScreen<LoomMenu>
 
- 
renderPattern
- 
mouseClickedpublic boolean mouseClicked(double p_99083_, double p_99084_, int p_99085_) - Specified by:
- mouseClickedin interface- ContainerEventHandler
- Specified by:
- mouseClickedin interface- GuiEventListener
- Overrides:
- mouseClickedin class- AbstractContainerScreen<LoomMenu>
 
- 
mouseDraggedpublic boolean mouseDragged(double p_99087_, double p_99088_, int p_99089_, double p_99090_, double p_99091_) - Specified by:
- mouseDraggedin interface- ContainerEventHandler
- Specified by:
- mouseDraggedin interface- GuiEventListener
- Overrides:
- mouseDraggedin class- AbstractContainerScreen<LoomMenu>
 
- 
mouseScrolledpublic boolean mouseScrolled(double p_99079_, double p_99080_, double p_99081_) 
- 
hasClickedOutsideprotected boolean hasClickedOutside(double p_99093_, double p_99094_, int p_99095_, int p_99096_, int p_99097_) - Overrides:
- hasClickedOutsidein class- AbstractContainerScreen<LoomMenu>
 
- 
containerChangedprivate void containerChanged()
 
-