Package net.minecraft.client.gui.widget
Class SoundSliderWidget
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.widget.AbstractButtonWidget
net.minecraft.client.gui.widget.SliderWidget
net.minecraft.client.gui.widget.OptionSliderWidget
net.minecraft.client.gui.widget.SoundSliderWidget
@Environment(CLIENT) public class SoundSliderWidget extends OptionSliderWidget
- Mappings:
Namespace Name official dsp
intermediary net/minecraft/class_444
named net/minecraft/client/gui/widget/SoundSliderWidget
-
Field Summary
Fields Modifier and Type Field Description private SoundCategory
category
Fields inherited from class net.minecraft.client.gui.widget.OptionSliderWidget
options
Fields inherited from class net.minecraft.client.gui.widget.SliderWidget
value
Fields inherited from class net.minecraft.client.gui.widget.AbstractButtonWidget
active, alpha, height, hovered, nextNarration, visible, WIDGETS_LOCATION, width, x, y
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
Constructor Summary
Constructors Constructor Description SoundSliderWidget(MinecraftClient client, int x, int y, SoundCategory category, int width)
-
Method Summary
Modifier and Type Method Description protected void
applyValue()
protected void
updateMessage()
Methods inherited from class net.minecraft.client.gui.widget.SliderWidget
getNarrationMessage, getYImage, keyPressed, onClick, onDrag, onRelease, playDownSound, renderBg
Methods inherited from class net.minecraft.client.gui.widget.AbstractButtonWidget
changeFocus, clicked, getHeight, getMessage, getNarrationMessage, getWidth, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onFocusedChanged, queueNarration, render, renderButton, renderToolTip, setAlpha, setFocused, setMessage, setWidth
Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, setZOffset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
charTyped, keyReleased, mouseMoved, mouseScrolled
-
Field Details
-
category
- Mappings:
Namespace Name Mixin selector official c
Ldsp;c:Laeh;
intermediary field_2622
Lnet/minecraft/class_444;field_2622:Lnet/minecraft/class_3419;
named category
Lnet/minecraft/client/gui/widget/SoundSliderWidget;category:Lnet/minecraft/sound/SoundCategory;
-
-
Constructor Details
-
SoundSliderWidget
- Mappings:
Namespace Name Mixin selector official <init>
Ldsp;<init>(Ldqk;IILaeh;I)V
intermediary <init>
Lnet/minecraft/class_444;<init>(Lnet/minecraft/class_310;IILnet/minecraft/class_3419;I)V
named <init>
Lnet/minecraft/client/gui/widget/SoundSliderWidget;<init>(Lnet/minecraft/client/MinecraftClient;IILnet/minecraft/sound/SoundCategory;I)V
-
-
Method Details
-
updateMessage
protected void updateMessage()- Specified by:
updateMessage
in classSliderWidget
- Mappings:
Namespace Name Mixin selector official b
Ldrr;b()V
intermediary method_25346
Lnet/minecraft/class_357;method_25346()V
named updateMessage
Lnet/minecraft/client/gui/widget/SliderWidget;updateMessage()V
-
applyValue
protected void applyValue()- Specified by:
applyValue
in classSliderWidget
- Mappings:
Namespace Name Mixin selector official a
Ldrr;a()V
intermediary method_25344
Lnet/minecraft/class_357;method_25344()V
named applyValue
Lnet/minecraft/client/gui/widget/SliderWidget;applyValue()V
-