Interface SoundInstance
- All Known Subinterfaces:
TickableSoundInstance
- All Known Implementing Classes:
AbstractSoundInstance
,AbstractTickableSoundInstance
,AudioStreamTest.SineSound
,BeeAggressiveSoundInstance
,BeeFlyingSoundInstance
,BeeSoundInstance
,BiomeAmbientSoundsHandler.LoopSoundInstance
,ElytraOnPlayerSoundInstance
,EntityBoundSoundInstance
,GuardianAttackSoundInstance
,MinecartSoundInstance
,RidingMinecartSoundInstance
,SimpleSoundInstance
,SnifferSoundInstance
,UnderwaterAmbientSoundInstances.SubSound
,UnderwaterAmbientSoundInstances.UnderwaterAmbientSoundInstance
public interface SoundInstance
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
default boolean
static RandomSource
int
getDelay()
float
getPitch()
getSound()
default CompletableFuture<AudioStream>
getStream
(SoundBufferLibrary soundBuffers, Sound sound, boolean looping) float
double
getX()
double
getY()
double
getZ()
boolean
boolean
resolve
(SoundManager p_119841_)
-
Method Details
-
getLocation
ResourceLocation getLocation() -
resolve
-
getSound
Sound getSound() -
getSource
SoundSource getSource() -
isLooping
boolean isLooping() -
isRelative
boolean isRelative() -
getDelay
int getDelay() -
getVolume
float getVolume() -
getPitch
float getPitch() -
getX
double getX() -
getY
double getY() -
getZ
double getZ() -
getAttenuation
SoundInstance.Attenuation getAttenuation() -
canStartSilent
default boolean canStartSilent() -
canPlaySound
default boolean canPlaySound() -
createUnseededRandom
-
getStream
default CompletableFuture<AudioStream> getStream(SoundBufferLibrary soundBuffers, Sound sound, boolean looping)
-