net.minecraft.client.gui.components

public abstract class AbstractScrollWidget

extends AbstractWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

fnz
net.minecraft.client.gui.components.AbstractScrollWidget
net.minecraft.class_7528
net.minecraft.client.gui.widget.ScrollableWidget

Field summary

Modifier and TypeField
private static final WidgetSprites
a
BACKGROUND_SPRITES
field_45905
TEXT_FIELD_TEXTURES
private static final ResourceLocation
b
SCROLLER_SPRITE
field_45906
SCROLLER_TEXTURE
private static final int
c
INNER_PADDING
field_39496
PADDING
private static final int
d
SCROLL_BAR_WIDTH
field_45907
SCROLLER_WIDTH
private double
e
scrollAmount
field_39497
scrollY
private boolean
f
scrolling
field_39498
scrollbarDragged

Constructor summary

ModifierConstructor
public (int arg0, int arg1, int arg2, int arg3, 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)
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)
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)
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)
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)
public void
b(fns 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)
private int
j()
getScrollBarHeight()
method_44394()
getScrollbarThumbHeight()
protected void
a(fns arg0)
renderDecorations(GuiGraphics arg0)
method_44384(class_332 arg0)
renderOverlay(DrawContext context)
protected int
a()
innerPadding()
method_44381()
getPadding()
protected int
b()
totalInnerPadding()
method_44385()
getPaddingDoubled()
protected double
c()
scrollAmount()
method_44387()
getScrollY()
protected void
a(double arg0)
setScrollAmount(double arg0)
method_44382(double arg0)
setScrollY(double scrollY)
protected int
d()
getMaxScrollAmount()
method_44390()
getMaxScrollY()
private int
k()
getContentHeight()
method_44395()
getContentsHeightWithPadding()
protected void
b(fns arg0)
renderBackground(GuiGraphics arg0)
method_44386(class_332 arg0)
drawBox(DrawContext context)
protected void
a(fns 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)
private void
c(fns arg0)
renderScrollBar(GuiGraphics arg0)
method_44396(class_332 arg0)
drawScrollbar(DrawContext context)
protected boolean
a(int arg0, int arg1)
withinContentAreaTopBottom(int arg0, int arg1)
method_44383(int arg0, int arg1)
isVisible(int top, int bottom)
protected boolean
b(double arg0, double arg1)
withinContentAreaPoint(double arg0, double arg1)
method_44388(double arg0, double arg1)
isWithinBounds(double mouseX, double mouseY)
protected boolean
e()
scrollbarVisible()
method_44392()
overflows()
public int
g()
scrollbarWidth()
method_53532()
getScrollerWidth()
protected abstract int
h()
getInnerHeight()
method_44391()
getContentsHeight()
protected abstract double
i()
scrollRate()
method_44393()
getDeltaYPerScroll()
protected abstract void
c(fns 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)