net.minecraft.client.gui.components

public abstract class AbstractSliderButton

extends AbstractWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

fhc
net.minecraft.client.gui.components.AbstractSliderButton
net.minecraft.class_357
net.minecraft.client.gui.widget.SliderWidget
net.minecraft.src.C_3448_

Field summary

Modifier and TypeField
private static final ResourceLocation
a
SLIDER_SPRITE
field_45340
TEXTURE
f_291598_
private static final ResourceLocation
d
HIGHLIGHTED_SPRITE
field_45341
HIGHLIGHTED_TEXTURE
f_291725_
private static final ResourceLocation
e
SLIDER_HANDLE_SPRITE
field_45342
HANDLE_TEXTURE
f_291616_
private static final ResourceLocation
f
SLIDER_HANDLE_HIGHLIGHTED_SPRITE
field_45343
HANDLE_HIGHLIGHTED_TEXTURE
f_291672_
protected static final int
b
TEXT_MARGIN
field_43054
field_43054
f_273931_
private static final int
m
HANDLE_WIDTH
field_41790
field_41790
f_263685_
private static final int
n
HANDLE_HALF_WIDTH
field_41789
field_41789
f_263653_
protected double
c
value
field_22753
value
f_93577_
private boolean
o
canChangeValue
field_41796
sliderFocused
f_263772_

Constructor summary

ModifierConstructor
public (int x, int y, int width, int height, Component text, double value)

Method summary

Modifier and TypeMethod
private ResourceLocation
c()
getSprite()
method_52716()
getTexture()
m_293389_()
private ResourceLocation
e()
getHandleSprite()
method_52717()
getHandleTexture()
m_293290_()
protected MutableComponent
aJ_()
createNarrationMessage()
method_25360()
getNarrationMessage()
m_5646_()
public void
a(flc arg0)
updateWidgetNarration(NarrationElementOutput arg0)
method_47399(class_6382 arg0)
appendClickableNarrations(NarrationMessageBuilder arg0)
m_168797_(C_141608_ arg0)
public void
b(fgt 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_281447_, int p_282852_, int p_282409_, float arg3)
public void
a(double arg0, double arg1)
onClick(double arg0, double arg1)
method_25348(double arg0, double arg1)
onClick(double arg0, double arg1)
m_5716_(double p_93589_, double arg1)
public void
a(boolean arg0)
setFocused(boolean arg0)
method_25365(boolean arg0)
setFocused(boolean arg0)
m_93692_(boolean arg0)
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_93597_, int p_93598_, int arg2)
private void
a(double arg0)
setValueFromMouse(double arg0)
method_25345(double arg0)
setValueFromMouse(double mouseX)
m_93585_(double arg0)
private void
b(double arg0)
setValue(double arg0)
method_25347(double arg0)
setValue(double value)
m_93611_(double arg0)
protected void
b(double arg0, double arg1, double arg2, double arg3)
onDrag(double arg0, double arg1, double arg2, double arg3)
method_25349(double arg0, double arg1, double arg2, double arg3)
onDrag(double arg0, double arg1, double arg2, double arg3)
m_7212_(double p_93592_, double p_93594_, double arg2, double arg3)
public void
a(gtx arg0)
playDownSound(SoundManager arg0)
method_25354(class_1144 arg0)
playDownSound(SoundManager arg0)
m_7435_(C_4603_ arg0)
public void
a_(double arg0, double arg1)
onRelease(double arg0, double arg1)
method_25357(double arg0, double arg1)
onRelease(double arg0, double arg1)
m_7691_(double p_93610_, double arg1)
protected abstract void
b()
updateMessage()
method_25346()
updateMessage()
m_5695_()
protected abstract void
a()
applyValue()
method_25344()
applyValue()
m_5697_()