Class PositionedSoundInstance

java.lang.Object
net.minecraft.client.sound.AbstractSoundInstance
net.minecraft.client.sound.PositionedSoundInstance
All Implemented Interfaces:
SoundInstance

@Environment(CLIENT) public class PositionedSoundInstance extends AbstractSoundInstance
Mappings:
Namespace Name
official dfs
intermediary net/minecraft/class_1895
named net/minecraft/client/sound/PositionedSoundInstance
  • 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

      public static PositionedSoundInstance method_12521(SoundEvent soundEvent, float float2)
      Mappings:
      Namespace Name Mixin selector
      official a Ldfs;a(Lwi;F)Ldfs;
      intermediary method_12521 Lnet/minecraft/class_1895;method_12521(Lnet/minecraft/class_2926;F)Lnet/minecraft/class_1895;
      named method_12521 Lnet/minecraft/client/sound/PositionedSoundInstance;method_12521(Lnet/minecraft/client/sound/SoundEvent;F)Lnet/minecraft/client/sound/PositionedSoundInstance;
    • method_14699

      public static PositionedSoundInstance method_14699(SoundEvent soundEvent, float float2, float float3)
      Mappings:
      Namespace Name Mixin selector
      official a Ldfs;a(Lwi;FF)Ldfs;
      intermediary method_14699 Lnet/minecraft/class_1895;method_14699(Lnet/minecraft/class_2926;FF)Lnet/minecraft/class_1895;
      named method_14699 Lnet/minecraft/client/sound/PositionedSoundInstance;method_14699(Lnet/minecraft/client/sound/SoundEvent;FF)Lnet/minecraft/client/sound/PositionedSoundInstance;
    • method_12520

      public static PositionedSoundInstance method_12520(SoundEvent soundEvent)
      Mappings:
      Namespace Name Mixin selector
      official a Ldfs;a(Lwi;)Ldfs;
      intermediary method_12520 Lnet/minecraft/class_1895;method_12520(Lnet/minecraft/class_2926;)Lnet/minecraft/class_1895;
      named method_12520 Lnet/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 a Ldfs;a(Lwi;FFF)Ldfs;
      intermediary method_7053 Lnet/minecraft/class_1895;method_7053(Lnet/minecraft/class_2926;FFF)Lnet/minecraft/class_1895;
      named method_7053 Lnet/minecraft/client/sound/PositionedSoundInstance;method_7053(Lnet/minecraft/client/sound/SoundEvent;FFF)Lnet/minecraft/client/sound/PositionedSoundInstance;