类 RealmsSlotOptionsScreen.SettingsSlider
- java.lang.Object
-
- net.minecraft.client.gui.DrawableHelper
-
- net.minecraft.client.gui.widget.AbstractButtonWidget
-
- net.minecraft.client.gui.widget.SliderWidget
-
- net.minecraft.client.realms.gui.screen.RealmsSlotOptionsScreen.SettingsSlider
-
@Environment(CLIENT) class RealmsSlotOptionsScreen.SettingsSlider extends SliderWidget
- Mappings:
Namespace Name official dsl$aintermediary net/minecraft/class_4423$class_4424named net/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen$SettingsSlider
-
-
字段概要
字段 修饰符和类型 字段 说明 private doublemaxprivate doublemin-
从类继承的字段 net.minecraft.client.gui.widget.SliderWidget
value
-
从类继承的字段 net.minecraft.client.gui.widget.AbstractButtonWidget
active, alpha, height, hovered, nextNarration, visible, WIDGETS_LOCATION, width, x, y
-
从类继承的字段 net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
-
构造器概要
构造器 构造器 说明 SettingsSlider(int x, int y, int width, int value, float min, float max)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidapplyValue()voidonClick(double mouseX, double mouseY)voidonRelease(double mouseX, double mouseY)protected voidupdateMessage()-
从类继承的方法 net.minecraft.client.gui.widget.SliderWidget
getNarrationMessage, getYImage, keyPressed, onDrag, playDownSound, renderBg
-
从类继承的方法 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
-
从类继承的方法 net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, method_35719, method_35720, setZOffset
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.client.gui.Element
charTyped, keyReleased, mouseMoved, mouseScrolled
-
-
-
-
字段详细资料
-
min
private final double min
- Mappings:
Namespace Name Mixin selector official cLdsl$a;c:Dintermediary field_22725Lnet/minecraft/class_4423$class_4424;field_22725:Dnamed minLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen$SettingsSlider;min:D
-
max
private final double max
- Mappings:
Namespace Name Mixin selector official dLdsl$a;d:Dintermediary field_22726Lnet/minecraft/class_4423$class_4424;field_22726:Dnamed maxLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen$SettingsSlider;max:D
-
-
构造器详细资料
-
SettingsSlider
public SettingsSlider(int x, int y, int width, int value, float min, float max)- Mappings:
Namespace Name Mixin selector official <init>Ldsl$a;<init>(Ldsl;IIIIFF)Vintermediary <init>Lnet/minecraft/class_4423$class_4424;<init>(Lnet/minecraft/class_4423;IIIIFF)Vnamed <init>Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen$SettingsSlider;<init>(Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;IIIIFF)V
-
-
方法详细资料
-
applyValue
public void applyValue()
- 指定者:
applyValue在类中SliderWidget- Mappings:
Namespace Name Mixin selector official aLdvt;a()Vintermediary method_25344Lnet/minecraft/class_357;method_25344()Vnamed applyValueLnet/minecraft/client/gui/widget/SliderWidget;applyValue()V
-
updateMessage
protected void updateMessage()
- 指定者:
updateMessage在类中SliderWidget- Mappings:
Namespace Name Mixin selector official bLdvt;b()Vintermediary method_25346Lnet/minecraft/class_357;method_25346()Vnamed updateMessageLnet/minecraft/client/gui/widget/SliderWidget;updateMessage()V
-
onClick
public void onClick(double mouseX, double mouseY)- 覆盖:
onClick在类中SliderWidget- Mappings:
Namespace Name Mixin selector official aLdvu;a(DD)Vintermediary method_25348Lnet/minecraft/class_339;method_25348(DD)Vnamed onClickLnet/minecraft/client/gui/widget/AbstractButtonWidget;onClick(DD)V
-
onRelease
public void onRelease(double mouseX, double mouseY)- 覆盖:
onRelease在类中SliderWidget- Mappings:
Namespace Name Mixin selector official a_Ldvu;a_(DD)Vintermediary method_25357Lnet/minecraft/class_339;method_25357(DD)Vnamed onReleaseLnet/minecraft/client/gui/widget/AbstractButtonWidget;onRelease(DD)V
-
-