Class Sound

java.lang.Object
net.minecraft.client.sound.Sound

@Environment(CLIENT) public class Sound extends Object
Mappings:
Namespace Name
official cyz
intermediary net/minecraft/class_621
named net/minecraft/client/sound/Sound
  • Field Details

    • id

      private final Identifier id
      Mappings:
      Namespace Name Mixin selector
      official a Lcyz;a:Loa;
      intermediary field_8186 Lnet/minecraft/class_621;field_8186:Lnet/minecraft/class_1653;
      named id Lnet/minecraft/client/sound/Sound;id:Lnet/minecraft/util/Identifier;
    • field_8187

      private final boolean field_8187
      Mappings:
      Namespace Name Mixin selector
      official b Lcyz;b:Z
      intermediary field_8187 Lnet/minecraft/class_621;field_8187:Z
      named field_8187 Lnet/minecraft/client/sound/Sound;field_8187:Z
    • volume

      private double volume
      Mappings:
      Namespace Name Mixin selector
      official c Lcyz;c:D
      intermediary field_8188 Lnet/minecraft/class_621;field_8188:D
      named volume Lnet/minecraft/client/sound/Sound;volume:D
    • pitch

      private double pitch
      Mappings:
      Namespace Name Mixin selector
      official d Lcyz;d:D
      intermediary field_8189 Lnet/minecraft/class_621;field_8189:D
      named pitch Lnet/minecraft/client/sound/Sound;pitch:D
  • Constructor Details

    • Sound

      public Sound(Identifier id, double volume, double pitch, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcyz;<init>(Loa;DDZ)V
      intermediary <init> Lnet/minecraft/class_621;<init>(Lnet/minecraft/class_1653;DDZ)V
      named <init> Lnet/minecraft/client/sound/Sound;<init>(Lnet/minecraft/util/Identifier;DDZ)V
    • Sound

      public Sound(Sound sound)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcyz;<init>(Lcyz;)V
      intermediary <init> Lnet/minecraft/class_621;<init>(Lnet/minecraft/class_621;)V
      named <init> Lnet/minecraft/client/sound/Sound;<init>(Lnet/minecraft/client/sound/Sound;)V
  • Method Details

    • getIdentifier

      public Identifier getIdentifier()
      Mappings:
      Namespace Name Mixin selector
      official a Lcyz;a()Loa;
      intermediary method_7089 Lnet/minecraft/class_621;method_7089()Lnet/minecraft/class_1653;
      named getIdentifier Lnet/minecraft/client/sound/Sound;getIdentifier()Lnet/minecraft/util/Identifier;
    • getVolume

      public double getVolume()
      Mappings:
      Namespace Name Mixin selector
      official b Lcyz;b()D
      intermediary method_7091 Lnet/minecraft/class_621;method_7091()D
      named getVolume Lnet/minecraft/client/sound/Sound;getVolume()D
    • setVolume

      public void setVolume(double volume)
      Mappings:
      Namespace Name Mixin selector
      official a Lcyz;a(D)V
      intermediary method_7090 Lnet/minecraft/class_621;method_7090(D)V
      named setVolume Lnet/minecraft/client/sound/Sound;setVolume(D)V
    • getPitch

      public double getPitch()
      Mappings:
      Namespace Name Mixin selector
      official c Lcyz;c()D
      intermediary method_7093 Lnet/minecraft/class_621;method_7093()D
      named getPitch Lnet/minecraft/client/sound/Sound;getPitch()D
    • setPitch

      public void setPitch(double pitch)
      Mappings:
      Namespace Name Mixin selector
      official b Lcyz;b(D)V
      intermediary method_7092 Lnet/minecraft/class_621;method_7092(D)V
      named setPitch Lnet/minecraft/client/sound/Sound;setPitch(D)V
    • method_7094

      public boolean method_7094()
      Mappings:
      Namespace Name Mixin selector
      official d Lcyz;d()Z
      intermediary method_7094 Lnet/minecraft/class_621;method_7094()Z
      named method_7094 Lnet/minecraft/client/sound/Sound;method_7094()Z