Package net.minecraft.client.sound
Class Sound
java.lang.Object
net.minecraft.client.sound.Sound
- All Implemented Interfaces:
- SoundContainer<Sound>
- Mappings:
- Namespace - Name - official - fxv- intermediary - net/minecraft/class_1111- named - net/minecraft/client/sound/Sound
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final intstatic final ResourceFinderprivate final Identifierprivate final FloatSupplierprivate final booleanprivate final Sound.RegistrationTypeprivate final booleanprivate final FloatSupplierprivate final int
- 
Constructor SummaryConstructorsConstructorDescriptionSound(String id, FloatSupplier volume, FloatSupplier pitch, int weight, Sound.RegistrationType registrationType, boolean stream, boolean preload, int attenuation) 
- 
Method SummaryModifier and TypeMethodDescriptionintgetPitch()intbooleanbooleanvoidpreload(SoundSystem soundSystem) toString()
- 
Field Details- 
FINDER- Mappings:
- Namespace - Name - Mixin selector - official - a- Lfxv;a:Lacj;- intermediary - field_40575- Lnet/minecraft/class_1111;field_40575:Lnet/minecraft/class_7654;- named - FINDER- Lnet/minecraft/client/sound/Sound;FINDER:Lnet/minecraft/resource/ResourceFinder;
 
- 
id- Mappings:
- Namespace - Name - Mixin selector - official - b- Lfxv;b:Lacq;- intermediary - field_5469- Lnet/minecraft/class_1111;field_5469:Lnet/minecraft/class_2960;- named - id- Lnet/minecraft/client/sound/Sound;id:Lnet/minecraft/util/Identifier;
 
- 
volume- Mappings:
- Namespace - Name - Mixin selector - official - c- Lfxv;c:Lbdf;- intermediary - field_5466- Lnet/minecraft/class_1111;field_5466:Lnet/minecraft/class_7373;- named - volume- Lnet/minecraft/client/sound/Sound;volume:Lnet/minecraft/util/math/floatprovider/FloatSupplier;
 
- 
pitch- Mappings:
- Namespace - Name - Mixin selector - official - d- Lfxv;d:Lbdf;- intermediary - field_5464- Lnet/minecraft/class_1111;field_5464:Lnet/minecraft/class_7373;- named - pitch- Lnet/minecraft/client/sound/Sound;pitch:Lnet/minecraft/util/math/floatprovider/FloatSupplier;
 
- 
weightprivate final int weight- Mappings:
- Namespace - Name - Mixin selector - official - e- Lfxv;e:I- intermediary - field_5468- Lnet/minecraft/class_1111;field_5468:I- named - weight- Lnet/minecraft/client/sound/Sound;weight:I
 
- 
registrationType- Mappings:
- Namespace - Name - Mixin selector - official - f- Lfxv;f:Lfxv$a;- intermediary - field_5470- Lnet/minecraft/class_1111;field_5470:Lnet/minecraft/class_1111$class_1112;- named - registrationType- Lnet/minecraft/client/sound/Sound;registrationType:Lnet/minecraft/client/sound/Sound$RegistrationType;
 
- 
streamprivate final boolean stream- Mappings:
- Namespace - Name - Mixin selector - official - g- Lfxv;g:Z- intermediary - field_5467- Lnet/minecraft/class_1111;field_5467:Z- named - stream- Lnet/minecraft/client/sound/Sound;stream:Z
 
- 
preloadprivate final boolean preload- Mappings:
- Namespace - Name - Mixin selector - official - h- Lfxv;h:Z- intermediary - field_5465- Lnet/minecraft/class_1111;field_5465:Z- named - preload- Lnet/minecraft/client/sound/Sound;preload:Z
 
- 
attenuationprivate final int attenuation- Mappings:
- Namespace - Name - Mixin selector - official - i- Lfxv;i:I- intermediary - field_5463- Lnet/minecraft/class_1111;field_5463:I- named - attenuation- Lnet/minecraft/client/sound/Sound;attenuation:I
 
 
- 
- 
Constructor Details- 
Soundpublic Sound(String id, FloatSupplier volume, FloatSupplier pitch, int weight, Sound.RegistrationType registrationType, boolean stream, boolean preload, int attenuation) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lfxv;<init>(Ljava/lang/String;Lbdf;Lbdf;ILfxv$a;ZZI)V- intermediary - <init>- Lnet/minecraft/class_1111;<init>(Ljava/lang/String;Lnet/minecraft/class_7373;Lnet/minecraft/class_7373;ILnet/minecraft/class_1111$class_1112;ZZI)V- named - <init>- Lnet/minecraft/client/sound/Sound;<init>(Ljava/lang/String;Lnet/minecraft/util/math/floatprovider/FloatSupplier;Lnet/minecraft/util/math/floatprovider/FloatSupplier;ILnet/minecraft/client/sound/Sound$RegistrationType;ZZI)V
 
 
- 
- 
Method Details- 
getIdentifier- Mappings:
- Namespace - Name - Mixin selector - official - a- Lfxv;a()Lacq;- intermediary - method_4767- Lnet/minecraft/class_1111;method_4767()Lnet/minecraft/class_2960;- named - getIdentifier- Lnet/minecraft/client/sound/Sound;getIdentifier()Lnet/minecraft/util/Identifier;
 
- 
getLocation- Mappings:
- Namespace - Name - Mixin selector - official - b- Lfxv;b()Lacq;- intermediary - method_4766- Lnet/minecraft/class_1111;method_4766()Lnet/minecraft/class_2960;- named - getLocation- Lnet/minecraft/client/sound/Sound;getLocation()Lnet/minecraft/util/Identifier;
 
- 
getVolume- Mappings:
- Namespace - Name - Mixin selector - official - c- Lfxv;c()Lbdf;- intermediary - method_4771- Lnet/minecraft/class_1111;method_4771()Lnet/minecraft/class_7373;- named - getVolume- Lnet/minecraft/client/sound/Sound;getVolume()Lnet/minecraft/util/math/floatprovider/FloatSupplier;
 
- 
getPitch- Mappings:
- Namespace - Name - Mixin selector - official - d- Lfxv;d()Lbdf;- intermediary - method_4772- Lnet/minecraft/class_1111;method_4772()Lnet/minecraft/class_7373;- named - getPitch- Lnet/minecraft/client/sound/Sound;getPitch()Lnet/minecraft/util/math/floatprovider/FloatSupplier;
 
- 
getWeightpublic int getWeight()- Specified by:
- getWeightin interface- SoundContainer<Sound>
- Mappings:
- Namespace - Name - Mixin selector - official - e- Lfze;e()I- intermediary - method_4894- Lnet/minecraft/class_1148;method_4894()I- named - getWeight- Lnet/minecraft/client/sound/SoundContainer;getWeight()I
 
- 
getSound- Specified by:
- getSoundin interface- SoundContainer<Sound>
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lfxv;a(Lapf;)Lfxv;- intermediary - method_4765- Lnet/minecraft/class_1111;method_4765(Lnet/minecraft/class_5819;)Lnet/minecraft/class_1111;- named - getSound- Lnet/minecraft/client/sound/Sound;getSound(Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/client/sound/Sound;
 
- 
preload- Specified by:
- preloadin interface- SoundContainer<Sound>
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lfze;a(Lfyz;)V- intermediary - method_18188- Lnet/minecraft/class_1148;method_18188(Lnet/minecraft/class_1140;)V- named - preload- Lnet/minecraft/client/sound/SoundContainer;preload(Lnet/minecraft/client/sound/SoundSystem;)V
 
- 
getRegistrationType- Mappings:
- Namespace - Name - Mixin selector - official - f- Lfxv;f()Lfxv$a;- intermediary - method_4768- Lnet/minecraft/class_1111;method_4768()Lnet/minecraft/class_1111$class_1112;- named - getRegistrationType- Lnet/minecraft/client/sound/Sound;getRegistrationType()Lnet/minecraft/client/sound/Sound$RegistrationType;
 
- 
isStreamedpublic boolean isStreamed()- Mappings:
- Namespace - Name - Mixin selector - official - g- Lfxv;g()Z- intermediary - method_4769- Lnet/minecraft/class_1111;method_4769()Z- named - isStreamed- Lnet/minecraft/client/sound/Sound;isStreamed()Z
 
- 
isPreloadedpublic boolean isPreloaded()- Mappings:
- Namespace - Name - Mixin selector - official - h- Lfxv;h()Z- intermediary - method_4764- Lnet/minecraft/class_1111;method_4764()Z- named - isPreloaded- Lnet/minecraft/client/sound/Sound;isPreloaded()Z
 
- 
getAttenuationpublic int getAttenuation()- Mappings:
- Namespace - Name - Mixin selector - official - i- Lfxv;i()I- intermediary - method_4770- Lnet/minecraft/class_1111;method_4770()I- named - getAttenuation- Lnet/minecraft/client/sound/Sound;getAttenuation()I
 
- 
toString
 
-