net.minecraft.client.resources.sounds

public class SimpleSoundInstance

extends AbstractSoundInstance

All mapped superinterfaces:

SoundInstance

fkt
net.minecraft.client.resources.sounds.SimpleSoundInstance
net.minecraft.class_1109
net.minecraft.client.sound.PositionedSoundInstance
net.minecraft.src.C_4561_

Constructor summary

ModifierConstructor
public (SoundEvent sound, SoundSource category, float volume, float pitch, RandomSource random, BlockPos pos)
public (SoundEvent sound, SoundSource category, float volume, float pitch, RandomSource random, double x, double y, double z)
private (SoundEvent sound, SoundSource category, float volume, float pitch, RandomSource random, boolean repeat, int repeatDelay, SoundInstance$Attenuation attenuationType, double x, double y, double z)
public (ResourceLocation id, SoundSource category, float volume, float pitch, RandomSource random, boolean repeat, int repeatDelay, SoundInstance$Attenuation attenuationType, double x, double y, double z, boolean relative)

Method summary

Modifier and TypeMethod
public static SimpleSoundInstance
a(ajd arg0, float arg1)
forUI(SoundEvent arg0, float arg1)
method_4758(class_3414 arg0, float arg1)
master(SoundEvent sound, float pitch)
m_119752_(C_123_ p_119753_, float p_119754_)
public static SimpleSoundInstance
a(ajd arg0, float arg1, float arg2)
forUI(SoundEvent arg0, float arg1, float arg2)
method_4757(class_3414 arg0, float arg1, float arg2)
master(SoundEvent sound, float pitch, float volume)
m_119755_(C_123_ p_119756_, float p_119757_, float p_119758_)
public static SimpleSoundInstance
a(ajd arg0)
forMusic(SoundEvent arg0)
method_4759(class_3414 arg0)
music(SoundEvent sound)
m_119745_(C_123_ p_119746_)
public static SimpleSoundInstance
a(ajd arg0, double arg1, double arg2, double arg3)
forRecord(SoundEvent arg0, double arg1, double arg2, double arg3)
method_4760(class_3414 arg0, double arg1, double arg2, double arg3)
record(SoundEvent sound, double x, double y, double z)
m_119747_(C_123_ p_119748_, double p_119749_, double p_119751_, double arg3)
public static SimpleSoundInstance
b(ajd arg0, float arg1, float arg2)
forLocalAmbience(SoundEvent arg0, float arg1, float arg2)
method_24877(class_3414 arg0, float arg1, float arg2)
ambient(SoundEvent sound, float pitch, float volume)
m_119766_(C_123_ p_119767_, float p_119768_, float p_119769_)
public static SimpleSoundInstance
b(ajd arg0)
forAmbientAddition(SoundEvent arg0)
method_25466(class_3414 arg0)
ambient(SoundEvent sound)
m_119759_(C_123_ p_119760_)
public static SimpleSoundInstance
a(ajd arg0, alu arg1, double arg2, double arg3, double arg4)
forAmbientMood(SoundEvent arg0, RandomSource arg1, double arg2, double arg3, double arg4)
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)
m_235127_(C_123_ p_235128_, C_212974_ p_235129_, double p_235130_, double p_235132_, double arg4)