net.minecraft.client.gui.components

public abstract class AbstractScrollWidget

extends AbstractWidget implements Renderable, GuiEventListener

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

fig
net.minecraft.client.gui.components.AbstractScrollWidget
net.minecraft.class_7528
net.minecraft.unmapped.C_djvyunwn
net.minecraft.client.gui.widget.ScrollableWidget
net.minecraft.client.gui.widget.ScrollableWidget
net.minecraft.src.C_238472_

Field summary

Modifier and TypeField
private static final WidgetSprites
a
BACKGROUND_SPRITES
field_45905
f_ljdumjfa
TEXT_FIELD_TEXTURES
TEXTURES
f_290588_
private static final ResourceLocation
b
SCROLLER_SPRITE
field_45906
f_krpvqfze
SCROLLER_TEXTURE
SCROLLBAR_TEXTURE
f_290568_
private static final int
c
INNER_PADDING
field_39496
f_uajaeyqh
PADDING
INNER_PADDING
f_238777_
private static final int
d
SCROLL_BAR_WIDTH
field_45907
f_mzzrbzwd
SCROLLER_WIDTH
SCROLLBAR_HEIGHT
f_290523_
private double
e
scrollAmount
field_39497
f_kciammnc
scrollY
scrollAmount
f_238564_
private boolean
f
scrolling
field_39498
f_dbzjuacb
scrollbarDragged
scrollbarDragged
f_238779_

Constructor summary

ModifierConstructor
public (int p_240026_, int p_240027_, int p_240028_, int p_240029_, Component arg4)

Method summary

Modifier and TypeMethod
public boolean
a(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
method_25402(double arg0, double arg1, int arg2)
m_fpfqbhfx(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
m_6375_(double p_240171_, double arg1, int arg2)
public boolean
b(double arg0, double arg1, int arg2)
mouseReleased(double arg0, double arg1, int arg2)
method_25406(double arg0, double arg1, int arg2)
m_vygbkdkf(double arg0, double arg1, int arg2)
mouseReleased(double arg0, double arg1, int arg2)
mouseReleased(double arg0, double arg1, int arg2)
m_6348_(double p_239064_, double arg1, int arg2)
public boolean
a(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
method_25403(double arg0, double arg1, int arg2, double arg3, double arg4)
m_shbmcoxj(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
m_7979_(double p_239640_, double p_239642_, int arg2, double arg3, double arg4)
public boolean
a(double arg0, double arg1, double arg2, double arg3)
mouseScrolled(double arg0, double arg1, double arg2, double arg3)
method_25401(double arg0, double arg1, double arg2, double arg3)
m_ztjwzdkn(double arg0, double arg1, double arg2, double arg3)
mouseScrolled(double arg0, double arg1, double arg2, double arg3)
mouseScrolled(double arg0, double arg1, double arg2, double arg3)
m_6050_(double p_239309_, double p_300047_, double arg2, double arg3)
public boolean
a(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
method_25404(int arg0, int arg1, int arg2)
m_qwrbtcbl(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
m_7933_(int p_276046_, int p_276030_, int arg2)
public void
b(fhz arg0, int arg1, int arg2, float arg3)
renderWidget(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_48579(class_332 arg0, int arg1, int arg2, float arg3)
m_mxhoikgj(C_sedilmty arg0, int arg1, int arg2, float arg3)
renderWidget(DrawContext arg0, int arg1, int arg2, float arg3)
drawWidget(GuiGraphics arg0, int arg1, int arg2, float arg3)
m_87963_(C_279497_ p_282468_, int p_282209_, int p_283300_, float arg3)
private int
j()
getScrollBarHeight()
method_44394()
m_vrczsiht()
getScrollbarThumbHeight()
getScrollBarHeight()
m_240211_()
protected void
a(fhz arg0)
renderDecorations(GuiGraphics arg0)
method_44384(class_332 arg0)
m_orkuxhay(C_sedilmty arg0)
renderOverlay(DrawContext context)
drawDecorations(GuiGraphics graphics)
m_239516_(C_279497_ arg0)
protected int
a()
innerPadding()
method_44381()
m_qscejzkt()
getPadding()
getInnerPadding()
m_239244_()
protected int
b()
totalInnerPadding()
method_44385()
m_arnarrjg()
getPaddingDoubled()
getTotalInnerPadding()
m_240012_()
protected double
c()
scrollAmount()
method_44387()
m_uckdbohy()
getScrollY()
getScrollAmount()
m_239030_()
protected void
a(double arg0)
setScrollAmount(double arg0)
method_44382(double arg0)
m_yavatojw(double arg0)
setScrollY(double scrollY)
setScrollAmount(double scrollAmount)
m_240206_(double arg0)
protected int
d()
getMaxScrollAmount()
method_44390()
m_ydbiuuxf()
getMaxScrollY()
getMaxScrollAmount()
m_239509_()
private int
k()
getContentHeight()
method_44395()
m_jvwdsnyd()
getContentsHeightWithPadding()
getContentHeightWithPadding()
m_239044_()
protected void
b(fhz arg0)
renderBackground(GuiGraphics arg0)
method_44386(class_332 arg0)
m_fbsebolr(C_sedilmty arg0)
drawBox(DrawContext context)
drawBox(GuiGraphics graphics)
m_240048_(C_279497_ arg0)
protected void
a(fhz arg0, int arg1, int arg2, int arg3, int arg4)
renderBorder(GuiGraphics arg0, int arg1, int arg2, int arg3, int arg4)
method_52233(class_332 arg0, int arg1, int arg2, int arg3, int arg4)
m_pbziymmv(C_sedilmty arg0, int arg1, int arg2, int arg3, int arg4)
drawBox(DrawContext context, int x, int y, int width, int height)
drawBox(GuiGraphics graphics, int x, int y, int width, int height)
m_289749_(C_279497_ p_289792_, int p_289795_, int p_289775_, int p_289762_, int arg4)
private void
c(fhz arg0)
renderScrollBar(GuiGraphics arg0)
method_44396(class_332 arg0)
m_vtahmpjd(C_sedilmty arg0)
drawScrollbar(DrawContext context)
drawScrollBar(GuiGraphics graphics)
m_264041_(C_279497_ arg0)
protected boolean
a(int arg0, int arg1)
withinContentAreaTopBottom(int arg0, int arg1)
method_44383(int arg0, int arg1)
m_uqjganvv(int arg0, int arg1)
isVisible(int top, int bottom)
isContentVisible(int top, int bottom)
m_239942_(int p_239944_, int arg1)
protected boolean
b(double arg0, double arg1)
withinContentAreaPoint(double arg0, double arg1)
method_44388(double arg0, double arg1)
m_eyjlocli(double arg0, double arg1)
isWithinBounds(double mouseX, double mouseY)
isWithinBounds(double x, double y)
m_239606_(double p_239608_, double arg1)
protected boolean
e()
scrollbarVisible()
method_44392()
m_gnwzkabs()
overflows()
isOverflowing()
m_239656_()
public int
f()
scrollbarWidth()
method_53532()
m_mibpjfgw()
getScrollerWidth()
getScrollbarWidth()
m_294573_()
protected abstract int
h()
getInnerHeight()
method_44391()
m_odlloobg()
getContentsHeight()
getContentHeight()
m_239019_()
protected abstract double
i()
scrollRate()
method_44393()
m_sccesvrq()
getDeltaYPerScroll()
getScrollRate()
m_239725_()
protected abstract void
c(fhz arg0, int arg1, int arg2, float arg3)
renderContents(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_44389(class_332 arg0, int arg1, int arg2, float arg3)
m_eucbjkoi(C_sedilmty arg0, int arg1, int arg2, float arg3)
renderContents(DrawContext context, int mouseX, int mouseY, float delta)
renderContents(GuiGraphics graphics, int mouseX, int mouseY, float delta)
m_239197_(C_279497_ p_239199_, int p_239200_, int p_239201_, float arg3)