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 dspintermediary net/minecraft/class_444named net/minecraft/client/gui/widget/SoundSliderWidget
-
Field Summary
Fields Modifier and Type Field Description private SoundCategorycategoryFields inherited from class net.minecraft.client.gui.widget.OptionSliderWidget
optionsFields inherited from class net.minecraft.client.gui.widget.SliderWidget
valueFields inherited from class net.minecraft.client.gui.widget.AbstractButtonWidget
active, alpha, height, hovered, nextNarration, visible, WIDGETS_LOCATION, width, x, yFields 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 voidapplyValue()protected voidupdateMessage()Methods inherited from class net.minecraft.client.gui.widget.SliderWidget
getNarrationMessage, getYImage, keyPressed, onClick, onDrag, onRelease, playDownSound, renderBgMethods 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, setWidthMethods 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, setZOffsetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
charTyped, keyReleased, mouseMoved, mouseScrolled
-
Field Details
-
category
- Mappings:
Namespace Name Mixin selector official cLdsp;c:Laeh;intermediary field_2622Lnet/minecraft/class_444;field_2622:Lnet/minecraft/class_3419;named categoryLnet/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)Vintermediary <init>Lnet/minecraft/class_444;<init>(Lnet/minecraft/class_310;IILnet/minecraft/class_3419;I)Vnamed <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:
updateMessagein classSliderWidget- Mappings:
Namespace Name Mixin selector official bLdrr;b()Vintermediary method_25346Lnet/minecraft/class_357;method_25346()Vnamed updateMessageLnet/minecraft/client/gui/widget/SliderWidget;updateMessage()V
-
applyValue
protected void applyValue()- Specified by:
applyValuein classSliderWidget- Mappings:
Namespace Name Mixin selector official aLdrr;a()Vintermediary method_25344Lnet/minecraft/class_357;method_25344()Vnamed applyValueLnet/minecraft/client/gui/widget/SliderWidget;applyValue()V
-