Package net.minecraft.client.audio
Class SimpleSound
- java.lang.Object
-
- net.minecraft.client.audio.LocatableSound
-
- net.minecraft.client.audio.SimpleSound
-
- All Implemented Interfaces:
ISound
public class SimpleSound extends LocatableSound
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.minecraft.client.audio.ISound
ISound.AttenuationType
-
-
Constructor Summary
Constructors Modifier Constructor Description SimpleSound(ResourceLocation p_i232492_1_, SoundCategory p_i232492_2_, float p_i232492_3_, float p_i232492_4_, boolean p_i232492_5_, int p_i232492_6_, ISound.AttenuationType p_i232492_7_, double p_i232492_8_, double p_i232492_10_, double p_i232492_12_, boolean p_i232492_14_)
private
SimpleSound(SoundEvent p_i232491_1_, SoundCategory p_i232491_2_, float p_i232491_3_, float p_i232491_4_, boolean p_i232491_5_, int p_i232491_6_, ISound.AttenuationType p_i232491_7_, double p_i232491_8_, double p_i232491_10_, double p_i232491_12_)
SimpleSound(SoundEvent p_i232490_1_, SoundCategory p_i232490_2_, float p_i232490_3_, float p_i232490_4_, double p_i232490_5_, double p_i232490_7_, double p_i232490_9_)
SimpleSound(SoundEvent p_i46527_1_, SoundCategory p_i46527_2_, float p_i46527_3_, float p_i46527_4_, BlockPos p_i46527_5_)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SimpleSound
forAmbientAddition(SoundEvent p_239530_0_)
static SimpleSound
forAmbientMood(SoundEvent p_239531_0_, double p_239531_1_, double p_239531_3_, double p_239531_5_)
static SimpleSound
forLocalAmbience(SoundEvent p_239532_0_, float p_239532_1_, float p_239532_2_)
static SimpleSound
forMusic(SoundEvent p_184370_0_)
static SimpleSound
forRecord(SoundEvent p_184372_0_, double p_184372_1_, double p_184372_3_, double p_184372_5_)
static SimpleSound
forUI(SoundEvent p_184371_0_, float p_184371_1_)
static SimpleSound
forUI(SoundEvent p_194007_0_, float p_194007_1_, float p_194007_2_)
-
Methods inherited from class net.minecraft.client.audio.LocatableSound
getAttenuation, getDelay, getLocation, getPitch, getSound, getSource, getVolume, getX, getY, getZ, isLooping, isRelative, resolve, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.minecraft.client.audio.ISound
canPlaySound, canStartSilent, getStream
-
-
-
-
Constructor Detail
-
SimpleSound
public SimpleSound(SoundEvent p_i46527_1_, SoundCategory p_i46527_2_, float p_i46527_3_, float p_i46527_4_, BlockPos p_i46527_5_)
-
SimpleSound
public SimpleSound(SoundEvent p_i232490_1_, SoundCategory p_i232490_2_, float p_i232490_3_, float p_i232490_4_, double p_i232490_5_, double p_i232490_7_, double p_i232490_9_)
-
SimpleSound
private SimpleSound(SoundEvent p_i232491_1_, SoundCategory p_i232491_2_, float p_i232491_3_, float p_i232491_4_, boolean p_i232491_5_, int p_i232491_6_, ISound.AttenuationType p_i232491_7_, double p_i232491_8_, double p_i232491_10_, double p_i232491_12_)
-
SimpleSound
public SimpleSound(ResourceLocation p_i232492_1_, SoundCategory p_i232492_2_, float p_i232492_3_, float p_i232492_4_, boolean p_i232492_5_, int p_i232492_6_, ISound.AttenuationType p_i232492_7_, double p_i232492_8_, double p_i232492_10_, double p_i232492_12_, boolean p_i232492_14_)
-
-
Method Detail
-
forUI
public static SimpleSound forUI(SoundEvent p_184371_0_, float p_184371_1_)
-
forUI
public static SimpleSound forUI(SoundEvent p_194007_0_, float p_194007_1_, float p_194007_2_)
-
forMusic
public static SimpleSound forMusic(SoundEvent p_184370_0_)
-
forRecord
public static SimpleSound forRecord(SoundEvent p_184372_0_, double p_184372_1_, double p_184372_3_, double p_184372_5_)
-
forLocalAmbience
public static SimpleSound forLocalAmbience(SoundEvent p_239532_0_, float p_239532_1_, float p_239532_2_)
-
forAmbientAddition
public static SimpleSound forAmbientAddition(SoundEvent p_239530_0_)
-
forAmbientMood
public static SimpleSound forAmbientMood(SoundEvent p_239531_0_, double p_239531_1_, double p_239531_3_, double p_239531_5_)
-
-