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
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
default boolean
int
getDelay()
float
getPitch()
getSound()
default CompletableFuture<IAudioStream>
getStream
(AudioStreamManager soundBuffers, Sound sound, boolean looping) float
double
getX()
double
getY()
double
getZ()
boolean
boolean
resolve
(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)
-