net.minecraft.client.gui.components

public abstract class AbstractSliderButton

extends AbstractWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

foo
net.minecraft.client.gui.components.AbstractSliderButton
net.minecraft.class_357
net.minecraft.client.gui.widget.SliderWidget

Field summary

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

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()
private ResourceLocation
e()
getHandleSprite()
method_52717()
getHandleTexture()
protected MutableComponent
d()
createNarrationMessage()
method_25360()
getNarrationMessage()
public void
a(fsr arg0)
updateWidgetNarration(NarrationElementOutput arg0)
method_47399(class_6382 arg0)
appendClickableNarrations(NarrationMessageBuilder arg0)
public void
b(fof 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)
public void
a(double arg0, double arg1)
onClick(double arg0, double arg1)
method_25348(double arg0, double arg1)
onClick(double arg0, double arg1)
public void
a(boolean arg0)
setFocused(boolean arg0)
method_25365(boolean arg0)
setFocused(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)
private void
a(double arg0)
setValueFromMouse(double arg0)
method_25345(double arg0)
setValueFromMouse(double mouseX)
private void
b(double arg0)
setValue(double arg0)
method_25347(double arg0)
setValue(double value)
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)
public void
a(hjw arg0)
playDownSound(SoundManager arg0)
method_25354(class_1144 arg0)
playDownSound(SoundManager arg0)
public void
b(double arg0, double arg1)
onRelease(double arg0, double arg1)
method_25357(double arg0, double arg1)
onRelease(double arg0, double arg1)
protected abstract void
b()
updateMessage()
method_25346()
updateMessage()
protected abstract void
a()
applyValue()
method_25344()
applyValue()