net.minecraft.client.gui.components

public abstract class AbstractScrollArea

extends AbstractWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

gdi
net.minecraft.client.gui.components.AbstractScrollArea
net.minecraft.class_7528
net.minecraft.client.gui.widget.ScrollableWidget
net.minecraft.src.C_370426_

Field summary

Modifier and TypeField
public static final int
b
SCROLLBAR_WIDTH
field_55258
SCROLLBAR_WIDTH
f_371374_
private double
a
scrollAmount
field_39497
scrollY
f_370895_
private static final ResourceLocation
c
SCROLLER_SPRITE
field_45906
SCROLLER_TEXTURE
f_371234_
private static final ResourceLocation
d
SCROLLER_BACKGROUND_SPRITE
field_55259
SCROLLER_BACKGROUND_TEXTURE
f_371300_
private boolean
e
scrolling
field_39498
scrollbarDragged
f_370597_

Constructor summary

ModifierConstructor
public (int p_378471_, int p_377440_, int p_376831_, int p_375489_, Component arg4)

Method summary

Modifier and TypeMethod
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_377972_, double p_378419_, double arg2, double arg3)
public boolean
a(gti arg0, double arg1, double arg2)
mouseDragged(MouseButtonEvent arg0, double arg1, double arg2)
method_25403(class_11909 arg0, double arg1, double arg2)
mouseDragged(Click arg0, double arg1, double arg2)
m_7979_(C_410856_ p_378500_, double p_377082_, double arg2)
public void
b(gti arg0)
onRelease(MouseButtonEvent arg0)
method_25357(class_11909 arg0)
onRelease(Click arg0)
m_7691_(C_410856_ arg0)
public double
h()
scrollAmount()
method_44387()
getScrollY()
m_372095_()
public void
a(double arg0)
setScrollAmount(double arg0)
method_44382(double arg0)
setScrollY(double scrollY)
m_239020_(double arg0)
public boolean
c(gti arg0)
updateScrolling(MouseButtonEvent arg0)
method_65505(class_11909 arg0)
checkScrollbarDragged(Click click)
m_374193_(C_410856_ arg0)
protected boolean
a(double arg0, double arg1)
isOverScrollbar(double arg0, double arg1)
method_74038(double arg0, double arg1)
isInScrollbar(double mouseX, double mouseY)
m_419916_(double p_431163_, double arg1)
public void
i()
refreshScrollAmount()
method_65506()
refreshScroll()
m_374512_()
public int
j()
maxScrollAmount()
method_44390()
getMaxScrollY()
m_372337_()
protected boolean
k()
scrollbarVisible()
method_44392()
overflows()
m_373053_()
protected int
l()
scrollerHeight()
method_44394()
getScrollbarThumbHeight()
m_373777_()
protected int
m()
scrollBarX()
method_65507()
getScrollbarX()
m_372556_()
protected int
n()
scrollBarY()
method_65508()
getScrollbarThumbY()
m_373747_()
protected void
a(gdd arg0, int arg1, int arg2)
renderScrollbar(GuiGraphics arg0, int arg1, int arg2)
method_44396(class_332 arg0, int arg1, int arg2)
drawScrollbar(DrawContext context, int mouseX, int mouseY)
m_373872_(C_279497_ p_425858_, int p_425542_, int arg2)
protected abstract int
o()
contentHeight()
method_44395()
getContentsHeightWithPadding()
m_372155_()
protected abstract double
p()
scrollRate()
method_44393()
getDeltaYPerScroll()
m_239725_()