net.minecraft.client.resources.sounds

public class SimpleSoundInstance

extends AbstractSoundInstance

All mapped superinterfaces:

SoundInstance

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

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(axe arg0, float arg1)
forUI(SoundEvent arg0, float arg1)
method_4758(class_3414 arg0, float arg1)
master(SoundEvent sound, float pitch)
public static SimpleSoundInstance
a(jq<axe> arg0, float arg1)
forUI(Holder<SoundEvent> arg0, float arg1)
method_47978(class_6880<class_3414> arg0, float arg1)
master(RegistryEntry<SoundEvent> sound, float pitch)
public static SimpleSoundInstance
a(axe 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)
public static SimpleSoundInstance
a(axe arg0)
forMusic(SoundEvent arg0)
method_4759(class_3414 arg0)
music(SoundEvent sound)
public static SimpleSoundInstance
a(axe arg0, fby arg1)
forJukeboxSong(SoundEvent arg0, Vec3 arg1)
method_4760(class_3414 arg0, class_243 arg1)
record(SoundEvent sound, Vec3d pos)
public static SimpleSoundInstance
b(axe 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)
public static SimpleSoundInstance
b(axe arg0)
forAmbientAddition(SoundEvent arg0)
method_25466(class_3414 arg0)
ambient(SoundEvent sound)
public static SimpleSoundInstance
a(axe arg0, bam 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)