net.minecraft.client.gui.screen.ingame

public class LoomScreen

extends HandledScreen<LoomScreenHandler>

All mapped superinterfaces:

ParentElement, Element, Navigable, Drawable, ScreenHandlerProvider

net.minecraft.client.gui.screens.inventory.LoomScreen
net.minecraft.client.gui.screens.inventory.LoomScreen
net.minecraft.class_494
net.minecraft.client.gui.screen.ingame.LoomScreen

Field summary

Modifier and TypeField
private static final Identifier
BANNER_SLOT_SPRITE
BANNER_SLOT_SPRITE
field_45481
BANNER_SLOT_TEXTURE
private static final Identifier
DYE_SLOT_SPRITE
DYE_SLOT_SPRITE
field_45482
DYE_SLOT_TEXTURE
private static final Identifier
PATTERN_SLOT_SPRITE
PATTERN_SLOT_SPRITE
field_45483
PATTERN_SLOT_TEXTURE
private static final Identifier
SCROLLER_SPRITE
SCROLLER_SPRITE
field_45476
SCROLLER_TEXTURE
private static final Identifier
SCROLLER_DISABLED_SPRITE
SCROLLER_DISABLED_SPRITE
field_45477
SCROLLER_DISABLED_TEXTURE
private static final Identifier
PATTERN_SELECTED_SPRITE
PATTERN_SELECTED_SPRITE
field_45478
PATTERN_SELECTED_TEXTURE
private static final Identifier
PATTERN_HIGHLIGHTED_SPRITE
PATTERN_HIGHLIGHTED_SPRITE
field_45479
PATTERN_HIGHLIGHTED_TEXTURE
private static final Identifier
PATTERN_SPRITE
PATTERN_SPRITE
field_45480
PATTERN_TEXTURE
private static final Identifier
ERROR_SPRITE
ERROR_SPRITE
field_46186
ERROR_TEXTURE
private static final Identifier
BG_LOCATION
BG_LOCATION
field_2966
TEXTURE
private static final int
PATTERN_COLUMNS
PATTERN_COLUMNS
field_32346
PATTERN_LIST_COLUMNS
private static final int
PATTERN_ROWS
PATTERN_ROWS
field_32347
PATTERN_LIST_ROWS
private static final int
SCROLLER_WIDTH
SCROLLER_WIDTH
field_32348
SCROLLBAR_WIDTH
private static final int
SCROLLER_HEIGHT
SCROLLER_HEIGHT
field_32349
SCROLLBAR_HEIGHT
private static final int
PATTERN_IMAGE_SIZE
PATTERN_IMAGE_SIZE
field_32350
PATTERN_ENTRY_SIZE
private static final int
SCROLLER_FULL_HEIGHT
SCROLLER_FULL_HEIGHT
field_32351
SCROLLBAR_AREA_HEIGHT
private static final int
PATTERNS_X
PATTERNS_X
field_32352
PATTERN_LIST_OFFSET_X
private static final int
PATTERNS_Y
PATTERNS_Y
field_32353
PATTERN_LIST_OFFSET_Y
private static final float
BANNER_PATTERN_TEXTURE_SIZE
BANNER_PATTERN_TEXTURE_SIZE
field_59943
field_59943
private static final float
BANNER_PATTERN_WIDTH
BANNER_PATTERN_WIDTH
field_59944
field_59944
private static final float
BANNER_PATTERN_HEIGHT
BANNER_PATTERN_HEIGHT
field_59945
field_59945
private BannerFlagBlockModel
flag
flag
field_21694
bannerField
private BannerPatternsComponent
resultBannerPatterns
resultBannerPatterns
field_21841
bannerPatterns
private ItemStack
bannerStack
bannerStack
field_2955
banner
private ItemStack
dyeStack
dyeStack
field_2954
dye
private ItemStack
patternStack
patternStack
field_2967
pattern
private boolean
displayPatterns
displayPatterns
field_2965
canApplyDyePattern
private boolean
hasMaxPatterns
hasMaxPatterns
field_2961
hasTooManyPatterns
private float
scrollOffs
scrollOffs
field_2968
scrollPosition
private boolean
scrolling
scrolling
field_2958
scrollbarClicked
private int
startRow
startRow
field_39190
visibleTopRow

Constructor summary

ModifierConstructor
public (LoomScreenHandler screenHandler, PlayerInventory inventory, Text title)

Method summary

Modifier and TypeMethod
protected void
init()
init()
method_25426()
init()
private int
totalRowCount()
totalRowCount()
method_43774()
getRows()
public void
extractBackground(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
extractBackground(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
method_25420(class_332 arg0, int arg1, int arg2, float arg3)
renderBackground(DrawContext arg0, int arg1, int arg2, float arg3)
private boolean
isScrollBarActive()
isScrollBarActive()
method_1_3132()
canScroll()
private void
extractBannerOnButton(GuiGraphicsExtractor graphics, int posX, int posY, TextureAtlasSprite bannerPatternSprite)
extractBannerOnButton(GuiGraphicsExtractor graphics, int posX, int posY, TextureAtlasSprite bannerPatternSprite)
method_22692(class_332 arg0, int arg1, int arg2, class_1058 arg3)
drawBanner(DrawContext context, int x, int y, Sprite sprite)
public boolean
mouseClicked(MouseButtonEvent event, boolean doubleClick)
mouseClicked(MouseButtonEvent event, boolean doubleClick)
method_25402(class_11909 arg0, boolean arg1)
mouseClicked(Click arg0, boolean arg1)
public boolean
mouseDragged(MouseButtonEvent event, double dx, double dy)
mouseDragged(MouseButtonEvent event, double dx, double dy)
method_25403(class_11909 arg0, double arg1, double arg2)
mouseDragged(Click arg0, double arg1, double arg2)
public boolean
mouseReleased(MouseButtonEvent event)
mouseReleased(MouseButtonEvent event)
method_25406(class_11909 arg0)
mouseReleased(Click arg0)
public boolean
mouseScrolled(double x, double y, double scrollX, double scrollY)
mouseScrolled(double x, double y, double scrollX, double scrollY)
method_25401(double arg0, double arg1, double arg2, double arg3)
mouseScrolled(double arg0, double arg1, double arg2, double arg3)
protected boolean
hasClickedOutside(double mx, double my, int xo, int yo)
hasClickedOutside(double mx, double my, int xo, int yo)
method_2381(double arg0, double arg1, int arg2, int arg3)
isClickOutsideBounds(double arg0, double arg1, int arg2, int arg3)
private void
containerChanged()
containerChanged()
method_17576()
onInventoryChanged()