net.minecraft.client.sound

public class PositionedSoundInstance

extends AbstractSoundInstance

All mapped superinterfaces:

SoundInstance

net.minecraft.client.resources.sounds.SimpleSoundInstance
net.minecraft.class_1109
net.minecraft.client.sound.PositionedSoundInstance

Constructor summary

ModifierConstructor
public (SoundEvent sound, SoundCategory category, float volume, float pitch, Random random, BlockPos pos)
public (SoundEvent sound, SoundCategory category, float volume, float pitch, Random random, double x, double y, double z)
private (SoundEvent sound, SoundCategory category, float volume, float pitch, Random random, boolean repeat, int repeatDelay, SoundInstance$AttenuationType attenuationType, double x, double y, double z)
public (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)

Method summary

Modifier and TypeMethod
public static PositionedSoundInstance
forUI(SoundEvent sound, float pitch)
method_4758(class_3414 arg0, float arg1)
master(SoundEvent sound, float pitch)
public static PositionedSoundInstance
forUI(Holder<SoundEvent> sound, float pitch)
method_47978(class_6880<class_3414> arg0, float arg1)
master(RegistryEntry<SoundEvent> sound, float pitch)
public static PositionedSoundInstance
forUI(SoundEvent sound, float pitch, float volume)
method_4757(class_3414 arg0, float arg1, float arg2)
master(SoundEvent sound, float pitch, float volume)
public static PositionedSoundInstance
forMusic(SoundEvent sound)
method_4759(class_3414 arg0)
music(SoundEvent sound)
public static PositionedSoundInstance
forJukeboxSong(SoundEvent sound, Vec3 pos)
method_4760(class_3414 arg0, class_243 arg1)
record(SoundEvent sound, Vec3d pos)
public static PositionedSoundInstance
forLocalAmbience(SoundEvent sound, float pitch, float volume)
method_24877(class_3414 arg0, float arg1, float arg2)
ambient(SoundEvent sound, float pitch, float volume)
public static PositionedSoundInstance
forAmbientAddition(SoundEvent sound)
method_25466(class_3414 arg0)
ambient(SoundEvent sound)
public static PositionedSoundInstance
forAmbientMood(SoundEvent sound, RandomSource random, double x, double y, double z)
method_25467(class_3414 arg0, class_5819 arg1, double arg2, double arg3, double arg4)
ambient(SoundEvent sound, Random random, double x, double y, double z)