Package net.minecraft.client.audio
Interface ISound
- All Known Subinterfaces:
ITickableSound
- All Known Implementing Classes:
AudioStreamTest.SineSound,BeeAngrySound,BeeFlightSound,BeeSound,BiomeSoundHandler.Sound,ElytraSound,EntityTickableSound,GuardianSound,LocatableSound,MinecartTickableSound,RidingMinecartTickableSound,SimpleSound,TickableSound,UnderwaterAmbientSounds.SubSound,UnderwaterAmbientSounds.UnderWaterSound
public interface ISound
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault booleanintgetDelay()floatgetPitch()getSound()default CompletableFuture<IAudioStream>getStream(AudioStreamManager soundBuffers, Sound sound, boolean looping) floatdoublegetX()doublegetY()doublegetZ()booleanbooleanresolve(SoundHandler p_184366_1_)
-
Method Details
-
getLocation
ResourceLocation getLocation() -
resolve
-
getSound
Sound getSound() -
getSource
SoundCategory 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
ISound.AttenuationType getAttenuation() -
canStartSilent
default boolean canStartSilent() -
canPlaySound
default boolean canPlaySound() -
getStream
default CompletableFuture<IAudioStream> getStream(AudioStreamManager soundBuffers, Sound sound, boolean looping)
-