Interface SoundInstance
- All Known Subinterfaces:
- TickableSoundInstance
- All Known Implementing Classes:
- AbstractSoundInstance,- AbstractTickableSoundInstance,- BeeAggressiveSoundInstance,- BeeFlyingSoundInstance,- BeeSoundInstance,- BiomeAmbientSoundsHandler.LoopSoundInstance,- ClientTests.SineSound,- ElytraOnPlayerSoundInstance,- EntityBoundSoundInstance,- GuardianAttackSoundInstance,- MinecartSoundInstance,- RidingMinecartSoundInstance,- SimpleSoundInstance,- SnifferSoundInstance,- UnderwaterAmbientSoundInstances.SubSound,- UnderwaterAmbientSoundInstances.UnderwaterAmbientSoundInstance
public interface SoundInstance
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptiondefault booleandefault booleanstatic RandomSourceintgetDelay()floatgetPitch()getSound()default CompletableFuture<AudioStream>getStream(SoundBufferLibrary soundBuffers, Sound sound, boolean looping) floatdoublegetX()doublegetY()doublegetZ()booleanbooleanresolve(SoundManager p_119841_) 
- 
Method Details- 
getLocationResourceLocation getLocation()
- 
resolve
- 
getSoundSound getSound()
- 
getSourceSoundSource getSource()
- 
isLoopingboolean isLooping()
- 
isRelativeboolean isRelative()
- 
getDelayint getDelay()
- 
getVolumefloat getVolume()
- 
getPitchfloat getPitch()
- 
getXdouble getX()
- 
getYdouble getY()
- 
getZdouble getZ()
- 
getAttenuationSoundInstance.Attenuation getAttenuation()
- 
canStartSilentdefault boolean canStartSilent()
- 
canPlaySounddefault boolean canPlaySound()
- 
createUnseededRandom
- 
getStreamdefault CompletableFuture<AudioStream> getStream(SoundBufferLibrary soundBuffers, Sound sound, boolean looping) 
 
-