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 cby
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 Lcby;a(Lnm;F)Lcby;
      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_12520

      public static PositionedSoundInstance method_12520(SoundEvent soundEvent)
      Mappings:
      Namespace Name Mixin selector
      official a Lcby;a(Lnm;)Lcby;
      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 Lcby;a(Lnm;FFF)Lcby;
      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;