Class SoundLoopSpell.SoundLoopSpellEntity

java.lang.Object
net.minecraft.client.resources.sounds.AbstractSoundInstance
net.minecraft.client.resources.sounds.AbstractTickableSoundInstance
com.binaris.wizardry.client.sound.SoundLoop
com.binaris.wizardry.client.sound.SoundLoopSpell
com.binaris.wizardry.client.sound.SoundLoopSpell.SoundLoopSpellEntity
All Implemented Interfaces:
net.fabricmc.fabric.api.client.sound.v1.FabricSoundInstance, net.minecraft.client.resources.sounds.SoundInstance, net.minecraft.client.resources.sounds.TickableSoundInstance
Enclosing class:
SoundLoopSpell

public static class SoundLoopSpell.SoundLoopSpellEntity extends SoundLoopSpell
Sound loop from a spell cast by an entity
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.binaris.wizardry.client.sound.SoundLoop

    SoundLoop.ISoundFactory

    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, pitch, random, relative, sound, volume, x, y, z

    Fields inherited from interface net.fabricmc.fabric.api.client.sound.v1.FabricSoundInstance

    EMPTY_SOUND
  • Constructor Summary

    Constructors
    Constructor
    Description
    SoundLoopSpellEntity(net.minecraft.sounds.SoundEvent start, net.minecraft.sounds.SoundEvent loop, net.minecraft.sounds.SoundEvent end, Spell spell, net.minecraft.world.entity.LivingEntity source, float volume, float pitch)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
     

    Methods inherited from class com.binaris.wizardry.client.sound.SoundLoopSpell

    hasActiveLoop, tick

    Methods inherited from class com.binaris.wizardry.client.sound.SoundLoop

    addLoop, endLoop, hasActiveLoopMatching, onClientTick, stopStartAndLoop

    Methods inherited from class net.minecraft.client.resources.sounds.AbstractTickableSoundInstance

    isStopped, stop

    Methods inherited from class net.minecraft.client.resources.sounds.AbstractSoundInstance

    getAttenuation, getDelay, getLocation, getPitch, getSound, getSource, getVolume, getX, getY, getZ, isLooping, isRelative, resolve, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface net.fabricmc.fabric.api.client.sound.v1.FabricSoundInstance

    getAudioStream

    Methods inherited from interface net.minecraft.client.resources.sounds.SoundInstance

    canPlaySound, canStartSilent, getAttenuation, getDelay, getLocation, getPitch, getSound, getSource, getVolume, getX, getY, getZ, isLooping, isRelative, resolve
  • Constructor Details

    • SoundLoopSpellEntity

      public SoundLoopSpellEntity(net.minecraft.sounds.SoundEvent start, net.minecraft.sounds.SoundEvent loop, net.minecraft.sounds.SoundEvent end, Spell spell, net.minecraft.world.entity.LivingEntity source, float volume, float pitch)
  • Method Details