net.minecraft.client.gui.widget

public abstract class ScrollableWidget

extends ClickableWidget

All mapped superinterfaces:

Drawable, Element, Navigable, Widget, Selectable, Narratable

gix
net.minecraft.client.gui.components.AbstractScrollArea
net.minecraft.class_7528
net.minecraft.client.gui.widget.ScrollableWidget
net.minecraft.unmapped.C_znmdicfw
net.minecraft.unmapped.C_znmdicfw
net.minecraft.src.C_370426_

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a(double o, double o, 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_ztjwzdkn(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(gzc o, double o, 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_shbmcoxj(C_vvcrnmew arg0, double arg1, double arg2)
mouseDragged(MouseButtonEvent arg0, double arg1, double arg2)
m_7979_(C_410856_ p_378500_, double p_377082_, double arg2)
public void
a(gzc arg0)
onRelease(MouseButtonEvent arg0)
method_25357(class_11909 arg0)
onRelease(Click arg0)
m_fkmytxaq(C_vvcrnmew arg0)
onRelease(MouseButtonEvent arg0)
m_7691_(C_410856_ arg0)
public double
h()
scrollAmount()
method_44387()
getScrollY()
m_xezdmqdc()
m_372095_()
public void
a(double arg0)
setScrollAmount(double arg0)
method_44382(double arg0)
setScrollY(double scrollY)
m_yvektwyp(double arg0)
m_yvektwyp(double a)
m_239020_(double arg0)
public boolean
c(gzc arg0)
updateScrolling(MouseButtonEvent arg0)
method_65505(class_11909 arg0)
checkScrollbarDragged(Click click)
m_bnadxabf(C_vvcrnmew arg0)
m_374193_(C_410856_ arg0)
protected boolean
a(double o, double arg1)
isOverScrollbar(double arg0, double arg1)
method_74038(double arg0, double arg1)
isInScrollbar(double mouseX, double mouseY)
m_pcjsicab(double arg0, double arg1)
m_419916_(double p_431163_, double arg1)
public void
i()
refreshScrollAmount()
method_65506()
refreshScroll()
m_kdlpjtrp()
m_374512_()
public int
j()
maxScrollAmount()
method_44390()
getMaxScrollY()
m_efceblhb()
m_372337_()
protected boolean
k()
scrollbarVisible()
method_44392()
overflows()
m_esjkrruw()
m_373053_()
protected int
l()
scrollerHeight()
method_44394()
getScrollbarThumbHeight()
m_ivftdsyu()
m_373777_()
protected int
m()
scrollBarX()
method_65507()
getScrollbarX()
m_vjijfitt()
m_372556_()
protected int
n()
scrollBarY()
method_65508()
getScrollbarThumbY()
m_ibmgepzu()
m_373747_()
protected void
a(gir o, int o, 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_udtdvvae(C_sedilmty arg0, int arg1, int arg2)
m_udtdvvae(GuiGraphics graphics, int arg1, int arg2)
m_373872_(C_279497_ p_425858_, int p_425542_, int arg2)
protected abstract int
o()
contentHeight()
method_44395()
getContentsHeightWithPadding()
m_moguksws()
m_372155_()
protected abstract double
p()
scrollRate()
method_44393()
getDeltaYPerScroll()
m_emnccvkh()
m_239725_()