Package com.mynamesraph.ensemble.audio
Class NoteSoundInstance
-
- All Implemented Interfaces:
-
net.fabricmc.fabric.api.client.sound.v1.FabricSoundInstance,net.minecraft.client.resources.sounds.SoundInstance,net.minecraft.client.resources.sounds.TickableSoundInstance
public final class NoteSoundInstance extends AbstractTickableSoundInstance
-
-
Field Summary
Fields Modifier and Type Field Description private final NoteSoundSourcesoundSourceprivate final Booleanstopped
-
Constructor Summary
Constructors Constructor Description NoteSoundInstance(SoundEvent event, NoteSoundSource soundSource)
-
Method Summary
Modifier and Type Method Description final NoteSoundSourcegetSoundSource()BooleanisLooping()Unittick()-
Methods inherited from class net.minecraft.client.resources.sounds.AbstractTickableSoundInstance
isStopped -
Methods inherited from class net.minecraft.client.resources.sounds.AbstractSoundInstance
getAttenuation, getDelay, getIdentifier, getPitch, getSound, getSource, getVolume, getX, getY, getZ, isRelative, resolve, toString -
Methods inherited from class net.fabricmc.fabric.api.client.sound.v1.FabricSoundInstance
getAudioStream -
Methods inherited from class net.minecraft.client.resources.sounds.SoundInstance
canPlaySound, canStartSilent -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
NoteSoundInstance
NoteSoundInstance(SoundEvent event, NoteSoundSource soundSource)
-
-
Method Detail
-
getSoundSource
final NoteSoundSource getSoundSource()
-
-
-
-