@Environment(value=CLIENT) public class SoundSliderWidget extends OptionSliderWidget
| Modifier and Type | Field and Description |
|---|---|
private SoundCategory |
category |
optionsvalueactive, alpha, height, hovered, nextNarration, visible, WIDGETS_LOCATION, width, x, yGUI_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, renderBgchangeFocus, clicked, getHeight, getMessage, getWidth, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onFocusedChanged, queueNarration, render, renderButton, renderToolTip, setAlpha, setFocused, setMessage, setWidthdrawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, setZOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharTyped, keyReleased, mouseMoved, mouseScrolledprivate final SoundCategory category
public SoundSliderWidget(MinecraftClient client, int x, int y, SoundCategory category, int width)
protected void updateMessage()
updateMessage in class SliderWidgetprotected void applyValue()
applyValue in class SliderWidget