Package dev.jaxydog.astral.utility
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, zFields inherited from interface net.fabricmc.fabric.api.client.sound.v1.FabricSoundInstance
EMPTY_SOUND -
Constructor Summary
ConstructorsConstructorDescriptionEntityTrackingUnboundedSoundInstance(net.minecraft.sound.SoundEvent sound, net.minecraft.sound.SoundCategory category, float volume, float pitch, net.minecraft.entity.Entity entity, long seed) Creates a newEntityTrackingUnboundedSoundInstance. -
Method Summary
Methods inherited from class net.minecraft.client.sound.EntityTrackingSoundInstance
canPlay, tickMethods inherited from class net.minecraft.client.sound.MovingSoundInstance
isDone, setDoneMethods inherited from class net.minecraft.client.sound.AbstractSoundInstance
getAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isRelative, isRepeatable, 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.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) Creates a newEntityTrackingUnboundedSoundInstance.- 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
-