Package net.minecraft.client.sound
Class Sound
java.lang.Object
net.minecraft.client.sound.Sound
@Environment(CLIENT) public class Sound extends Object
- Mappings:
Namespace Name official bpwintermediary net/minecraft/class_1324named net/minecraft/client/sound/Sound
-
Field Summary
Fields Modifier and Type Field Description private booleanfield_5487private Identifieridprivate doublepitchprivate doublevolume -
Constructor Summary
Constructors Constructor Description Sound(Sound sound)Sound(Identifier id, double volume, double pitch, boolean bool) -
Method Summary
Modifier and Type Method Description IdentifiergetIdentifier()doublegetPitch()doublegetVolume()booleanmethod_4575()voidsetPitch(double pitch)voidsetVolume(double volume)
-
Field Details
-
id
- Mappings:
Namespace Name Mixin selector official aLbpw;a:Ljy;intermediary field_5486Lnet/minecraft/class_1324;field_5486:Lnet/minecraft/class_1605;named idLnet/minecraft/client/sound/Sound;id:Lnet/minecraft/util/Identifier;
-
field_5487
private final boolean field_5487- Mappings:
Namespace Name Mixin selector official bLbpw;b:Zintermediary field_5487Lnet/minecraft/class_1324;field_5487:Znamed field_5487Lnet/minecraft/client/sound/Sound;field_5487:Z
-
volume
private double volume- Mappings:
Namespace Name Mixin selector official cLbpw;c:Dintermediary field_5488Lnet/minecraft/class_1324;field_5488:Dnamed volumeLnet/minecraft/client/sound/Sound;volume:D
-
pitch
private double pitch- Mappings:
Namespace Name Mixin selector official dLbpw;d:Dintermediary field_5489Lnet/minecraft/class_1324;field_5489:Dnamed pitchLnet/minecraft/client/sound/Sound;pitch:D
-
-
Constructor Details
-
Sound
- Mappings:
Namespace Name Mixin selector official <init>Lbpw;<init>(Ljy;DDZ)Vintermediary <init>Lnet/minecraft/class_1324;<init>(Lnet/minecraft/class_1605;DDZ)Vnamed <init>Lnet/minecraft/client/sound/Sound;<init>(Lnet/minecraft/util/Identifier;DDZ)V
-
Sound
- Mappings:
Namespace Name Mixin selector official <init>Lbpw;<init>(Lbpw;)Vintermediary <init>Lnet/minecraft/class_1324;<init>(Lnet/minecraft/class_1324;)Vnamed <init>Lnet/minecraft/client/sound/Sound;<init>(Lnet/minecraft/client/sound/Sound;)V
-
-
Method Details
-
getIdentifier
- Mappings:
Namespace Name Mixin selector official aLbpw;a()Ljy;intermediary method_4570Lnet/minecraft/class_1324;method_4570()Lnet/minecraft/class_1605;named getIdentifierLnet/minecraft/client/sound/Sound;getIdentifier()Lnet/minecraft/util/Identifier;
-
getVolume
public double getVolume()- Mappings:
Namespace Name Mixin selector official bLbpw;b()Dintermediary method_4572Lnet/minecraft/class_1324;method_4572()Dnamed getVolumeLnet/minecraft/client/sound/Sound;getVolume()D
-
setVolume
public void setVolume(double volume)- Mappings:
Namespace Name Mixin selector official aLbpw;a(D)Vintermediary method_4571Lnet/minecraft/class_1324;method_4571(D)Vnamed setVolumeLnet/minecraft/client/sound/Sound;setVolume(D)V
-
getPitch
public double getPitch()- Mappings:
Namespace Name Mixin selector official cLbpw;c()Dintermediary method_4574Lnet/minecraft/class_1324;method_4574()Dnamed getPitchLnet/minecraft/client/sound/Sound;getPitch()D
-
setPitch
public void setPitch(double pitch)- Mappings:
Namespace Name Mixin selector official bLbpw;b(D)Vintermediary method_4573Lnet/minecraft/class_1324;method_4573(D)Vnamed setPitchLnet/minecraft/client/sound/Sound;setPitch(D)V
-
method_4575
public boolean method_4575()- Mappings:
Namespace Name Mixin selector official dLbpw;d()Zintermediary method_4575Lnet/minecraft/class_1324;method_4575()Znamed method_4575Lnet/minecraft/client/sound/Sound;method_4575()Z
-