Package net.minecraft.client.audio
Class SimpleSound
java.lang.Object
net.minecraft.client.audio.LocatableSound
net.minecraft.client.audio.SimpleSound
- All Implemented Interfaces:
ISound
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.audio.ISound
ISound.AttenuationType
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionSimpleSound
(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
Modifier and TypeMethodDescriptionstatic 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 Details
-
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 Details
-
forUI
-
forUI
-
forMusic
-
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
-
forAmbientMood
public static SimpleSound forAmbientMood(SoundEvent p_239531_0_, double p_239531_1_, double p_239531_3_, double p_239531_5_)
-