Class MovingParticleSoundLoop<T extends net.minecraft.client.particle.Particle>
java.lang.Object
net.minecraft.client.resources.sounds.AbstractSoundInstance
net.minecraft.client.resources.sounds.AbstractTickableSoundInstance
net.frozenblock.lib.sound.api.instances.MovingParticleSoundLoop<T>
- All Implemented Interfaces:
net.fabricmc.fabric.api.client.sound.v1.FabricSoundInstance,net.minecraft.client.resources.sounds.SoundInstance,net.minecraft.client.resources.sounds.TickableSoundInstance
@Environment(CLIENT)
public class MovingParticleSoundLoop<T extends net.minecraft.client.particle.Particle>
extends net.minecraft.client.resources.sounds.AbstractTickableSoundInstance
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.resources.sounds.SoundInstance
net.minecraft.client.resources.sounds.SoundInstance.Attenuation -
Field Summary
Fields inherited from class net.minecraft.client.resources.sounds.AbstractSoundInstance
attenuation, delay, location, looping, pitch, random, relative, sound, source, volume, x, y, zFields inherited from interface net.fabricmc.fabric.api.client.sound.v1.FabricSoundInstance
EMPTY_SOUND -
Constructor Summary
ConstructorsConstructorDescriptionMovingParticleSoundLoop(T particle, net.minecraft.sounds.SoundEvent sound, net.minecraft.sounds.SoundSource category, float volume, float pitch, int fadeInTicks, boolean stopOnDeath) -
Method Summary
Methods inherited from class net.minecraft.client.resources.sounds.AbstractTickableSoundInstance
isStopped, stopMethods inherited from class net.minecraft.client.resources.sounds.AbstractSoundInstance
getAttenuation, getDelay, getLocation, getPitch, getSound, getSource, getVolume, getX, getY, getZ, isLooping, isRelative, resolve, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.fabricmc.fabric.api.client.sound.v1.FabricSoundInstance
getAudioStreamMethods inherited from interface net.minecraft.client.resources.sounds.SoundInstance
getAttenuation, getDelay, getLocation, getPitch, getSound, getSource, getVolume, getX, getY, getZ, isLooping, isRelative, resolve
-
Constructor Details
-
MovingParticleSoundLoop
public MovingParticleSoundLoop(T particle, net.minecraft.sounds.SoundEvent sound, net.minecraft.sounds.SoundSource category, float volume, float pitch, int fadeInTicks, boolean stopOnDeath)
-
-
Method Details
-
canPlaySound
public boolean canPlaySound() -
canStartSilent
public boolean canStartSilent() -
tick
public void tick()
-