net.minecraft.client.resources.sounds

public class SimpleSoundInstance

extends AbstractSoundInstance

All mapped superinterfaces:

SoundInstance

gch
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(apc 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(he<apc> arg0, float arg1)
forUI(Holder<SoundEvent> arg0, float arg1)
method_47978(class_6880<class_3414> arg0, float arg1)
master(RegistryEntry<SoundEvent> sound, float pitch)
m_263171_(C_203228_<C_123_> p_263418_, float p_263405_)
public static SimpleSoundInstance
a(apc 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(apc arg0)
forMusic(SoundEvent arg0)
method_4759(class_3414 arg0)
music(SoundEvent sound)
m_119745_(C_123_ p_119746_)
public static SimpleSoundInstance
a(apc arg0, ehn arg1)
forRecord(SoundEvent arg0, Vec3 arg1)
method_4760(class_3414 arg0, class_243 arg1)
record(SoundEvent sound, Vec3d pos)
m_246411_(C_123_ p_249575_, C_3046_ p_249600_)
public static SimpleSoundInstance
b(apc 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(apc arg0)
forAmbientAddition(SoundEvent arg0)
method_25466(class_3414 arg0)
ambient(SoundEvent sound)
m_119759_(C_123_ p_119760_)
public static SimpleSoundInstance
a(apc arg0, asc 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)