Package net.minecraft.client.sound
Class PositionedSoundInstance
java.lang.Object
net.minecraft.client.sound.AbstractSoundInstance
net.minecraft.client.sound.PositionedSoundInstance
- All Implemented Interfaces:
SoundInstance
- Mappings:
Namespace Name official cbyintermediary net/minecraft/class_1895named net/minecraft/client/sound/PositionedSoundInstance
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.sound.SoundInstance
SoundInstance.AttenuationType -
Field Summary
Fields inherited from class net.minecraft.client.sound.AbstractSoundInstance
attenuationType, field_13678, field_13679, identifier, pitch, repeat, repeatDelay, volume, x, y, z -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePositionedSoundInstance(SoundEvent soundEvent, SoundCategory soundCategory, float float2, float float3, boolean bool, int int2, SoundInstance.AttenuationType attenuationType, float float4, float float5, float float6) PositionedSoundInstance(SoundEvent soundEvent, SoundCategory soundCategory, float float2, float float3, float float4, float float5, float float6) PositionedSoundInstance(SoundEvent soundEvent, SoundCategory soundCategory, float float2, float float3, BlockPos blockPos) PositionedSoundInstance(Identifier identifier, SoundCategory soundCategory, float float2, float float3, boolean bool, int int2, SoundInstance.AttenuationType attenuationType, float float4, float float5, float float6) -
Method Summary
Modifier and TypeMethodDescriptionstatic PositionedSoundInstancemethod_12520(SoundEvent soundEvent) static PositionedSoundInstancemethod_12521(SoundEvent soundEvent, float float2) static PositionedSoundInstancemethod_7053(SoundEvent soundEvent, float float2, float float3, float float4) Methods inherited from class net.minecraft.client.sound.AbstractSoundInstance
getAttenuationType, getIdentifier, getPitch, getRepeatDelay, getVolume, getX, getY, getZ, isRepeatable, method_12532, method_12533, method_12534
-
Constructor Details
-
PositionedSoundInstance
public PositionedSoundInstance(SoundEvent soundEvent, SoundCategory soundCategory, float float2, float float3, BlockPos blockPos) -
PositionedSoundInstance
public PositionedSoundInstance(SoundEvent soundEvent, SoundCategory soundCategory, float float2, float float3, float float4, float float5, float float6) -
PositionedSoundInstance
private PositionedSoundInstance(SoundEvent soundEvent, SoundCategory soundCategory, float float2, float float3, boolean bool, int int2, SoundInstance.AttenuationType attenuationType, float float4, float float5, float float6) -
PositionedSoundInstance
public PositionedSoundInstance(Identifier identifier, SoundCategory soundCategory, float float2, float float3, boolean bool, int int2, SoundInstance.AttenuationType attenuationType, float float4, float float5, float float6)
-
-
Method Details
-
method_12521
- Mappings:
Namespace Name Mixin selector official aLcby;a(Lnm;F)Lcby;intermediary method_12521Lnet/minecraft/class_1895;method_12521(Lnet/minecraft/class_2926;F)Lnet/minecraft/class_1895;named method_12521Lnet/minecraft/client/sound/PositionedSoundInstance;method_12521(Lnet/minecraft/client/sound/SoundEvent;F)Lnet/minecraft/client/sound/PositionedSoundInstance;
-
method_12520
- Mappings:
Namespace Name Mixin selector official aLcby;a(Lnm;)Lcby;intermediary method_12520Lnet/minecraft/class_1895;method_12520(Lnet/minecraft/class_2926;)Lnet/minecraft/class_1895;named method_12520Lnet/minecraft/client/sound/PositionedSoundInstance;method_12520(Lnet/minecraft/client/sound/SoundEvent;)Lnet/minecraft/client/sound/PositionedSoundInstance;
-
method_7053
public static PositionedSoundInstance method_7053(SoundEvent soundEvent, float float2, float float3, float float4) - Mappings:
Namespace Name Mixin selector official aLcby;a(Lnm;FFF)Lcby;intermediary method_7053Lnet/minecraft/class_1895;method_7053(Lnet/minecraft/class_2926;FFF)Lnet/minecraft/class_1895;named method_7053Lnet/minecraft/client/sound/PositionedSoundInstance;method_7053(Lnet/minecraft/client/sound/SoundEvent;FFF)Lnet/minecraft/client/sound/PositionedSoundInstance;
-