Class Sound

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

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

    • id

      private final Identifier id
      Mappings:
      Namespace Name Mixin selector
      official a Lbpw;a:Ljy;
      intermediary field_5486 Lnet/minecraft/class_1324;field_5486:Lnet/minecraft/class_1605;
      named id Lnet/minecraft/client/sound/Sound;id:Lnet/minecraft/util/Identifier;
    • field_5487

      private final boolean field_5487
      Mappings:
      Namespace Name Mixin selector
      official b Lbpw;b:Z
      intermediary field_5487 Lnet/minecraft/class_1324;field_5487:Z
      named field_5487 Lnet/minecraft/client/sound/Sound;field_5487:Z
    • volume

      private double volume
      Mappings:
      Namespace Name Mixin selector
      official c Lbpw;c:D
      intermediary field_5488 Lnet/minecraft/class_1324;field_5488:D
      named volume Lnet/minecraft/client/sound/Sound;volume:D
    • pitch

      private double pitch
      Mappings:
      Namespace Name Mixin selector
      official d Lbpw;d:D
      intermediary field_5489 Lnet/minecraft/class_1324;field_5489: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> Lbpw;<init>(Ljy;DDZ)V
      intermediary <init> Lnet/minecraft/class_1324;<init>(Lnet/minecraft/class_1605;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> Lbpw;<init>(Lbpw;)V
      intermediary <init> Lnet/minecraft/class_1324;<init>(Lnet/minecraft/class_1324;)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 Lbpw;a()Ljy;
      intermediary method_4570 Lnet/minecraft/class_1324;method_4570()Lnet/minecraft/class_1605;
      named getIdentifier Lnet/minecraft/client/sound/Sound;getIdentifier()Lnet/minecraft/util/Identifier;
    • getVolume

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

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

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

      public void setPitch​(double pitch)
      Mappings:
      Namespace Name Mixin selector
      official b Lbpw;b(D)V
      intermediary method_4573 Lnet/minecraft/class_1324;method_4573(D)V
      named setPitch Lnet/minecraft/client/sound/Sound;setPitch(D)V
    • method_4575

      public boolean method_4575()
      Mappings:
      Namespace Name Mixin selector
      official d Lbpw;d()Z
      intermediary method_4575 Lnet/minecraft/class_1324;method_4575()Z
      named method_4575 Lnet/minecraft/client/sound/Sound;method_4575()Z