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

@Environment(CLIENT) class SoundsScreen.SoundButtonWidget extends ButtonWidget
Mappings:
Namespace Name
official ckh$a
intermediary net/minecraft/class_1815$class_1816
named net/minecraft/client/gui/screen/SoundsScreen$SoundButtonWidget
  • Field Details

    • category

      private final SoundCategory category
      Mappings:
      Namespace Name Mixin selector
      official r Lckh$a;r:Lwk;
      intermediary field_7780 Lnet/minecraft/class_1815$class_1816;field_7780:Lnet/minecraft/class_2153;
      named category Lnet/minecraft/client/gui/screen/SoundsScreen$SoundButtonWidget;category:Lnet/minecraft/client/sound/SoundCategory;
    • categoryName

      private final String categoryName
      Mappings:
      Namespace Name Mixin selector
      official s Lckh$a;s:Ljava/lang/String;
      intermediary field_7781 Lnet/minecraft/class_1815$class_1816;field_7781:Ljava/lang/String;
      named categoryName Lnet/minecraft/client/gui/screen/SoundsScreen$SoundButtonWidget;categoryName:Ljava/lang/String;
    • field_20319

      public double field_20319
      Mappings:
      Namespace Name Mixin selector
      official o Lckh$a;o:D
      intermediary field_20319 Lnet/minecraft/class_1815$class_1816;field_20319:D
      named field_20319 Lnet/minecraft/client/gui/screen/SoundsScreen$SoundButtonWidget;field_20319:D
    • mouseButtonPressed

      public boolean mouseButtonPressed
      Mappings:
      Namespace Name Mixin selector
      official p Lckh$a;p:Z
      intermediary field_7778 Lnet/minecraft/class_1815$class_1816;field_7778:Z
      named mouseButtonPressed Lnet/minecraft/client/gui/screen/SoundsScreen$SoundButtonWidget;mouseButtonPressed:Z
  • Constructor Details

    • SoundButtonWidget

      public SoundButtonWidget(int id, int x, int y, SoundCategory category, boolean isLarge)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lckh$a;<init>(Lckh;IIILwk;Z)V
      intermediary <init> Lnet/minecraft/class_1815$class_1816;<init>(Lnet/minecraft/class_1815;IIILnet/minecraft/class_2153;Z)V
      named <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:
      getYImage in class ButtonWidget
      Mappings:
      Namespace Name Mixin selector
      official a Lcgu;a(Z)I
      intermediary method_892 Lnet/minecraft/class_356;method_892(Z)I
      named getYImage Lnet/minecraft/client/gui/widget/ButtonWidget;getYImage(Z)I
    • renderBg

      protected void renderBg(MinecraftClient client, int mouseX, int mouseY)
      Overrides:
      renderBg in class ButtonWidget
      Mappings:
      Namespace Name Mixin selector
      official a Lcgu;a(Lcft;II)V
      intermediary method_893 Lnet/minecraft/class_356;method_893(Lnet/minecraft/class_1600;II)V
      named renderBg Lnet/minecraft/client/gui/widget/ButtonWidget;renderBg(Lnet/minecraft/client/MinecraftClient;II)V
    • method_18374

      public void method_18374(double double2, double double3)
      Overrides:
      method_18374 in class ButtonWidget
      Mappings:
      Namespace Name Mixin selector
      official a Lcgu;a(DD)V
      intermediary method_18374 Lnet/minecraft/class_356;method_18374(DD)V
      named method_18374 Lnet/minecraft/client/gui/widget/ButtonWidget;method_18374(DD)V
    • playDownSound

      public void playDownSound(SoundManager soundManager)
      Overrides:
      playDownSound in class ButtonWidget
      Mappings:
      Namespace Name Mixin selector
      official a Lcgu;a(Ldgt;)V
      intermediary method_6687 Lnet/minecraft/class_356;method_6687(Lnet/minecraft/class_1909;)V
      named playDownSound Lnet/minecraft/client/gui/widget/ButtonWidget;playDownSound(Lnet/minecraft/client/sound/SoundManager;)V
    • method_18376

      public void method_18376(double double2, double double3)
      Overrides:
      method_18376 in class ButtonWidget
      Mappings:
      Namespace Name Mixin selector
      official b Lcgu;b(DD)V
      intermediary method_18376 Lnet/minecraft/class_356;method_18376(DD)V
      named method_18376 Lnet/minecraft/client/gui/widget/ButtonWidget;method_18376(DD)V