@Environment(value=CLIENT) public class SoundSliderWidget extends OptionSliderWidget
Modifier and Type | Field and Description |
---|---|
private SoundCategory |
category |
options
value
active, alpha, height, hovered, nextNarration, visible, WIDGETS_LOCATION, width, x, y
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Constructor and Description |
---|
SoundSliderWidget(MinecraftClient client,
int x,
int y,
SoundCategory category,
int width) |
Modifier and Type | Method and Description |
---|---|
protected void |
applyValue() |
protected void |
updateMessage() |
getNarrationMessage, getYImage, keyPressed, onClick, onDrag, onRelease, playDownSound, renderBg
changeFocus, clicked, getHeight, getMessage, getWidth, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onFocusedChanged, queueNarration, render, renderButton, renderToolTip, setAlpha, setFocused, setMessage, setWidth
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, setZOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
charTyped, keyReleased, mouseMoved, mouseScrolled
private final SoundCategory category
public SoundSliderWidget(MinecraftClient client, int x, int y, SoundCategory category, int width)
protected void updateMessage()
updateMessage
in class SliderWidget
protected void applyValue()
applyValue
in class SliderWidget