Class EntityTrackingUnboundedSoundInstance

java.lang.Object
net.minecraft.client.sound.AbstractSoundInstance
net.minecraft.client.sound.MovingSoundInstance
net.minecraft.client.sound.EntityTrackingSoundInstance
dev.jaxydog.astral.utility.EntityTrackingUnboundedSoundInstance
All Implemented Interfaces:
net.fabricmc.fabric.api.client.sound.v1.FabricSoundInstance, net.minecraft.client.sound.SoundInstance, net.minecraft.client.sound.TickableSoundInstance

public class EntityTrackingUnboundedSoundInstance extends net.minecraft.client.sound.EntityTrackingSoundInstance
Simple extension class to provide type-level information to the sound engine.
Since:
1.7.0
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.minecraft.client.sound.SoundInstance

    net.minecraft.client.sound.SoundInstance.AttenuationType
  • Field Summary

    Fields inherited from class net.minecraft.client.sound.AbstractSoundInstance

    attenuationType, category, id, pitch, random, relative, repeat, repeatDelay, sound, volume, x, y, z

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

    EMPTY_SOUND
  • Constructor Summary

    Constructors
    Constructor
    Description
    EntityTrackingUnboundedSoundInstance(net.minecraft.sound.SoundEvent sound, net.minecraft.sound.SoundCategory category, float volume, float pitch, net.minecraft.entity.Entity entity, long seed)
  • Method Summary

    Methods inherited from class net.minecraft.client.sound.EntityTrackingSoundInstance

    canPlay, tick

    Methods inherited from class net.minecraft.client.sound.MovingSoundInstance

    isDone, setDone

    Methods inherited from class net.minecraft.client.sound.AbstractSoundInstance

    getAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isRelative, isRepeatable, 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.sound.SoundInstance

    getAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isRelative, isRepeatable, shouldAlwaysPlay
  • Constructor Details

    • EntityTrackingUnboundedSoundInstance

      public EntityTrackingUnboundedSoundInstance(net.minecraft.sound.SoundEvent sound, net.minecraft.sound.SoundCategory category, float volume, float pitch, net.minecraft.entity.Entity entity, long seed)
      Parameters:
      sound - The sound event.
      category - The sound category.
      volume - The volume.
      pitch - The pitch.
      entity - The entity to track.
      seed - The randomness seed.
      Since:
      1.7.0