net.minecraft.client.gui.components

public abstract class AbstractScrollWidget

extends AbstractWidget implements Renderable, GuiEventListener

All mapped superinterfaces:

Renderable, GuiEventListener, NarratableEntry, NarrationSupplier

ekt
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 int
a
BORDER_COLOR_FOCUSED
field_39493
FOCUSED_BORDER_COLOR
f_238809_
private static final int
b
BORDER_COLOR
field_39494
UNFOCUSED_BORDER_COLOR
f_238810_
private static final int
c
BACKGROUND_COLOR
field_39495
BOX_COLOR
f_238748_
private static final int
d
INNER_PADDING
field_39496
PADDING
f_238777_
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)
mouseScrolled(double arg0, double arg1, double arg2)
method_25401(double arg0, double arg1, double arg2)
mouseScrolled(double arg0, double arg1, double arg2)
m_6050_(double p_239309_, double arg1, double arg2)
public void
b(eed arg0, int arg1, int arg2, float arg3)
renderButton(PoseStack arg0, int arg1, int arg2, float arg3)
method_25359(class_4587 arg0, int arg1, int arg2, float arg3)
renderButton(MatrixStack arg0, int arg1, int arg2, float arg3)
m_6303_(C_3181_ p_239794_, int p_239795_, int p_239796_, float arg3)
private int
t()
getScrollBarHeight()
method_44394()
getScrollbarThumbHeight()
m_240211_()
protected void
a(eed arg0)
renderDecorations(PoseStack arg0)
method_44384(class_4587 arg0)
renderOverlay(MatrixStack matrices)
m_239516_(C_3181_ 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
u()
getContentHeight()
method_44395()
getContentsHeightWithPadding()
m_239044_()
private void
b(eed arg0)
renderBackground(PoseStack arg0)
method_44386(class_4587 arg0)
drawBox(MatrixStack matrices)
m_240048_(C_3181_ arg0)
private void
v()
renderScrollBar()
method_44396()
drawScrollbar()
m_239245_()
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
e(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 abstract int
e()
getInnerHeight()
method_44391()
getContentsHeight()
m_239019_()
protected abstract boolean
g()
scrollbarVisible()
method_44392()
overflows()
m_239656_()
protected abstract double
h()
scrollRate()
method_44393()
getDeltaYPerScroll()
m_239725_()
protected abstract void
c(eed arg0, int arg1, int arg2, float arg3)
renderContents(PoseStack arg0, int arg1, int arg2, float arg3)
method_44389(class_4587 arg0, int arg1, int arg2, float arg3)
renderContents(MatrixStack matrices, int mouseX, int mouseY, float delta)
m_239000_(C_3181_ p_239199_, int p_239200_, int p_239201_, float arg3)