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.client.gui.widget.ScrollableWidget
net.minecraft.src.C_238472_

Field summary

Modifier and TypeField
private static final WidgetSprites
a
BACKGROUND_SPRITES
field_45905
TEXT_FIELD_TEXTURES
f_290588_
private static final ResourceLocation
b
SCROLLER_SPRITE
field_45906
SCROLLER_TEXTURE
f_290568_
private static final int
c
INNER_PADDING
field_39496
PADDING
f_238777_
private static final int
d
SCROLL_BAR_WIDTH
field_45907
SCROLLER_WIDTH
f_290523_
private double
e
scrollAmount
field_39497
scrollY
f_238564_
private boolean
f
scrolling
field_39498
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)
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)
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)
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)
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)
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)
renderWidget(DrawContext 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()
getScrollbarThumbHeight()
m_240211_()
protected void
a(fhz arg0)
renderDecorations(GuiGraphics arg0)
method_44384(class_332 arg0)
renderOverlay(DrawContext context)
m_239516_(C_279497_ arg0)
protected int
a()
innerPadding()
method_44381()
getPadding()
m_239244_()
protected int
b()
totalInnerPadding()
method_44385()
getPaddingDoubled()
m_240012_()
protected double
c()
scrollAmount()
method_44387()
getScrollY()
m_239030_()
protected void
a(double arg0)
setScrollAmount(double arg0)
method_44382(double arg0)
setScrollY(double scrollY)
m_240206_(double arg0)
protected int
d()
getMaxScrollAmount()
method_44390()
getMaxScrollY()
m_239509_()
private int
k()
getContentHeight()
method_44395()
getContentsHeightWithPadding()
m_239044_()
protected void
b(fhz arg0)
renderBackground(GuiGraphics arg0)
method_44386(class_332 arg0)
drawBox(DrawContext context)
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)
drawBox(DrawContext context, 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)
drawScrollbar(DrawContext context)
m_264041_(C_279497_ arg0)
protected boolean
a(int arg0, int arg1)
withinContentAreaTopBottom(int arg0, int arg1)
method_44383(int arg0, int arg1)
isVisible(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)
isWithinBounds(double mouseX, double mouseY)
m_239606_(double p_239608_, double arg1)
protected boolean
e()
scrollbarVisible()
method_44392()
overflows()
m_239656_()
public int
f()
scrollbarWidth()
method_53532()
getScrollerWidth()
m_294573_()
protected abstract int
h()
getInnerHeight()
method_44391()
getContentsHeight()
m_239019_()
protected abstract double
i()
scrollRate()
method_44393()
getDeltaYPerScroll()
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)
renderContents(DrawContext context, int mouseX, int mouseY, float delta)
m_239197_(C_279497_ p_239199_, int p_239200_, int p_239201_, float arg3)