Package net.minecraft.client.gui.screen
Class SoundsScreen.SoundButtonWidget
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.widget.ButtonWidget
net.minecraft.client.gui.screen.SoundsScreen.SoundButtonWidget
- All Implemented Interfaces:
class_4122
- Enclosing class:
- SoundsScreen
- Mappings:
Namespace Name official ckh$aintermediary net/minecraft/class_1815$class_1816named net/minecraft/client/gui/screen/SoundsScreen$SoundButtonWidget
-
Field Summary
FieldsFields inherited from class net.minecraft.client.gui.widget.ButtonWidget
active, height, hovered, id, message, visible, WIDGETS_LOCATION, width, x, yFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE, zOffset -
Constructor Summary
ConstructorsConstructorDescriptionSoundButtonWidget(int id, int x, int y, SoundCategory category, boolean isLarge) -
Method Summary
Modifier and TypeMethodDescriptionprotected intgetYImage(boolean isHovered) voidmethod_18374(double double2, double double3) voidmethod_18376(double double2, double double3) voidplayDownSound(SoundManager soundManager) protected voidrenderBg(MinecraftClient client, int mouseX, int mouseY) Methods inherited from class net.minecraft.client.gui.widget.ButtonWidget
getWidth, isHovered, method_18375, method_18377, method_891, mouseClicked, mouseDragged, mouseReleased, renderToolTip, setWidthMethods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawHorizontalLine, drawSprite, drawTexture, drawTexture, drawTexture, drawTexture, drawVerticalLine, drawWithShadow, fill, fillGradientMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.class_4122
charTyped, keyPressed, keyReleased, method_18427, method_18428, mouseScrolled
-
Field Details
-
category
- Mappings:
Namespace Name Mixin selector official rLckh$a;r:Lwk;intermediary field_7780Lnet/minecraft/class_1815$class_1816;field_7780:Lnet/minecraft/class_2153;named categoryLnet/minecraft/client/gui/screen/SoundsScreen$SoundButtonWidget;category:Lnet/minecraft/client/sound/SoundCategory;
-
categoryName
- Mappings:
Namespace Name Mixin selector official sLckh$a;s:Ljava/lang/String;intermediary field_7781Lnet/minecraft/class_1815$class_1816;field_7781:Ljava/lang/String;named categoryNameLnet/minecraft/client/gui/screen/SoundsScreen$SoundButtonWidget;categoryName:Ljava/lang/String;
-
field_20319
public double field_20319- Mappings:
Namespace Name Mixin selector official oLckh$a;o:Dintermediary field_20319Lnet/minecraft/class_1815$class_1816;field_20319:Dnamed field_20319Lnet/minecraft/client/gui/screen/SoundsScreen$SoundButtonWidget;field_20319:D
-
mouseButtonPressed
public boolean mouseButtonPressed- Mappings:
Namespace Name Mixin selector official pLckh$a;p:Zintermediary field_7778Lnet/minecraft/class_1815$class_1816;field_7778:Znamed mouseButtonPressedLnet/minecraft/client/gui/screen/SoundsScreen$SoundButtonWidget;mouseButtonPressed:Z
-
-
Constructor Details
-
SoundButtonWidget
- Mappings:
Namespace Name Mixin selector official <init>Lckh$a;<init>(Lckh;IIILwk;Z)Vintermediary <init>Lnet/minecraft/class_1815$class_1816;<init>(Lnet/minecraft/class_1815;IIILnet/minecraft/class_2153;Z)Vnamed <init>Lnet/minecraft/client/gui/screen/SoundsScreen$SoundButtonWidget;<init>(Lnet/minecraft/client/gui/screen/SoundsScreen;IIILnet/minecraft/client/sound/SoundCategory;Z)V
-
-
Method Details
-
getYImage
protected int getYImage(boolean isHovered) - Overrides:
getYImagein classButtonWidget- Mappings:
Namespace Name Mixin selector official aLcgu;a(Z)Iintermediary method_892Lnet/minecraft/class_356;method_892(Z)Inamed getYImageLnet/minecraft/client/gui/widget/ButtonWidget;getYImage(Z)I
-
renderBg
- Overrides:
renderBgin classButtonWidget- Mappings:
Namespace Name Mixin selector official aLcgu;a(Lcft;II)Vintermediary method_893Lnet/minecraft/class_356;method_893(Lnet/minecraft/class_1600;II)Vnamed renderBgLnet/minecraft/client/gui/widget/ButtonWidget;renderBg(Lnet/minecraft/client/MinecraftClient;II)V
-
method_18374
public void method_18374(double double2, double double3) - Overrides:
method_18374in classButtonWidget- Mappings:
Namespace Name Mixin selector official aLcgu;a(DD)Vintermediary method_18374Lnet/minecraft/class_356;method_18374(DD)Vnamed method_18374Lnet/minecraft/client/gui/widget/ButtonWidget;method_18374(DD)V
-
playDownSound
- Overrides:
playDownSoundin classButtonWidget- Mappings:
Namespace Name Mixin selector official aLcgu;a(Ldgt;)Vintermediary method_6687Lnet/minecraft/class_356;method_6687(Lnet/minecraft/class_1909;)Vnamed playDownSoundLnet/minecraft/client/gui/widget/ButtonWidget;playDownSound(Lnet/minecraft/client/sound/SoundManager;)V
-
method_18376
public void method_18376(double double2, double double3) - Overrides:
method_18376in classButtonWidget- Mappings:
Namespace Name Mixin selector official bLcgu;b(DD)Vintermediary method_18376Lnet/minecraft/class_356;method_18376(DD)Vnamed method_18376Lnet/minecraft/client/gui/widget/ButtonWidget;method_18376(DD)V
-