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
named net/minecraft/client/sound/PositionedSoundInstance
intermediary net/minecraft/class_1109
official gsz
  • Constructor Details

    • PositionedSoundInstance

      public PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, Random random, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/sound/PositionedSoundInstance;<init>(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FFLnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;)V
      intermediary <init> Lnet/minecraft/class_1109;<init>(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFLnet/minecraft/class_5819;Lnet/minecraft/class_2338;)V
      official <init> Lgsz;<init>(Lavg;Lavi;FFLayo;Lja;)V
    • PositionedSoundInstance

      public PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, Random random, double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/sound/PositionedSoundInstance;<init>(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FFLnet/minecraft/util/math/random/Random;DDD)V
      intermediary <init> Lnet/minecraft/class_1109;<init>(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFLnet/minecraft/class_5819;DDD)V
      official <init> Lgsz;<init>(Lavg;Lavi;FFLayo;DDD)V
    • PositionedSoundInstance

      private PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, Random random, boolean repeat, int repeatDelay, SoundInstance.AttenuationType attenuationType, double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/sound/PositionedSoundInstance;<init>(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FFLnet/minecraft/util/math/random/Random;ZILnet/minecraft/client/sound/SoundInstance$AttenuationType;DDD)V
      intermediary <init> Lnet/minecraft/class_1109;<init>(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFLnet/minecraft/class_5819;ZILnet/minecraft/class_1113$class_1114;DDD)V
      official <init> Lgsz;<init>(Lavg;Lavi;FFLayo;ZILgte$a;DDD)V
    • PositionedSoundInstance

      public PositionedSoundInstance(Identifier id, SoundCategory category, float volume, float pitch, Random random, boolean repeat, int repeatDelay, SoundInstance.AttenuationType attenuationType, double x, double y, double z, boolean relative)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/sound/PositionedSoundInstance;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/sound/SoundCategory;FFLnet/minecraft/util/math/random/Random;ZILnet/minecraft/client/sound/SoundInstance$AttenuationType;DDDZ)V
      intermediary <init> Lnet/minecraft/class_1109;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_3419;FFLnet/minecraft/class_5819;ZILnet/minecraft/class_1113$class_1114;DDDZ)V
      official <init> Lgsz;<init>(Lakk;Lavi;FFLayo;ZILgte$a;DDDZ)V
  • Method Details

    • master

      public static PositionedSoundInstance master(SoundEvent sound, float pitch)
      Mappings:
      Namespace Name Mixin selector
      named master Lnet/minecraft/client/sound/PositionedSoundInstance;master(Lnet/minecraft/sound/SoundEvent;F)Lnet/minecraft/client/sound/PositionedSoundInstance;
      intermediary method_4758 Lnet/minecraft/class_1109;method_4758(Lnet/minecraft/class_3414;F)Lnet/minecraft/class_1109;
      official a Lgsz;a(Lavg;F)Lgsz;
    • master

      public static PositionedSoundInstance master(RegistryEntry<SoundEvent> sound, float pitch)
      Mappings:
      Namespace Name Mixin selector
      named master Lnet/minecraft/client/sound/PositionedSoundInstance;master(Lnet/minecraft/registry/entry/RegistryEntry;F)Lnet/minecraft/client/sound/PositionedSoundInstance;
      intermediary method_47978 Lnet/minecraft/class_1109;method_47978(Lnet/minecraft/class_6880;F)Lnet/minecraft/class_1109;
      official a Lgsz;a(Ljj;F)Lgsz;
    • master

      public static PositionedSoundInstance master(SoundEvent sound, float pitch, float volume)
      Mappings:
      Namespace Name Mixin selector
      named master Lnet/minecraft/client/sound/PositionedSoundInstance;master(Lnet/minecraft/sound/SoundEvent;FF)Lnet/minecraft/client/sound/PositionedSoundInstance;
      intermediary method_4757 Lnet/minecraft/class_1109;method_4757(Lnet/minecraft/class_3414;FF)Lnet/minecraft/class_1109;
      official a Lgsz;a(Lavg;FF)Lgsz;
    • music

      public static PositionedSoundInstance music(SoundEvent sound)
      Mappings:
      Namespace Name Mixin selector
      named music Lnet/minecraft/client/sound/PositionedSoundInstance;music(Lnet/minecraft/sound/SoundEvent;)Lnet/minecraft/client/sound/PositionedSoundInstance;
      intermediary method_4759 Lnet/minecraft/class_1109;method_4759(Lnet/minecraft/class_3414;)Lnet/minecraft/class_1109;
      official a Lgsz;a(Lavg;)Lgsz;
    • record

      public static PositionedSoundInstance record(SoundEvent sound, Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      named record Lnet/minecraft/client/sound/PositionedSoundInstance;record(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/client/sound/PositionedSoundInstance;
      intermediary method_4760 Lnet/minecraft/class_1109;method_4760(Lnet/minecraft/class_3414;Lnet/minecraft/class_243;)Lnet/minecraft/class_1109;
      official a Lgsz;a(Lavg;Lewh;)Lgsz;
    • ambient

      public static PositionedSoundInstance ambient(SoundEvent sound, float pitch, float volume)
      Mappings:
      Namespace Name Mixin selector
      named ambient Lnet/minecraft/client/sound/PositionedSoundInstance;ambient(Lnet/minecraft/sound/SoundEvent;FF)Lnet/minecraft/client/sound/PositionedSoundInstance;
      intermediary method_24877 Lnet/minecraft/class_1109;method_24877(Lnet/minecraft/class_3414;FF)Lnet/minecraft/class_1109;
      official b Lgsz;b(Lavg;FF)Lgsz;
    • ambient

      public static PositionedSoundInstance ambient(SoundEvent sound)
      Mappings:
      Namespace Name Mixin selector
      named ambient Lnet/minecraft/client/sound/PositionedSoundInstance;ambient(Lnet/minecraft/sound/SoundEvent;)Lnet/minecraft/client/sound/PositionedSoundInstance;
      intermediary method_25466 Lnet/minecraft/class_1109;method_25466(Lnet/minecraft/class_3414;)Lnet/minecraft/class_1109;
      official b Lgsz;b(Lavg;)Lgsz;
    • ambient

      public static PositionedSoundInstance ambient(SoundEvent sound, Random random, double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      named ambient Lnet/minecraft/client/sound/PositionedSoundInstance;ambient(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/util/math/random/Random;DDD)Lnet/minecraft/client/sound/PositionedSoundInstance;
      intermediary method_25467 Lnet/minecraft/class_1109;method_25467(Lnet/minecraft/class_3414;Lnet/minecraft/class_5819;DDD)Lnet/minecraft/class_1109;
      official a Lgsz;a(Lavg;Layo;DDD)Lgsz;