Class MovingLoopingFadingDistanceSoundEntityManager.FadingDistanceSoundLoopNBT

java.lang.Object
net.frozenblock.lib.sound.api.MovingLoopingFadingDistanceSoundEntityManager.FadingDistanceSoundLoopNBT
Enclosing class:
MovingLoopingFadingDistanceSoundEntityManager

public static class MovingLoopingFadingDistanceSoundEntityManager.FadingDistanceSoundLoopNBT extends Object
  • Field Details

    • soundEventID

      public final net.minecraft.resources.ResourceLocation soundEventID
    • sound2EventID

      public final net.minecraft.resources.ResourceLocation sound2EventID
    • categoryOrdinal

      public final String categoryOrdinal
    • volume

      public final float volume
    • pitch

      public final float pitch
    • fadeDist

      public final float fadeDist
    • maxDist

      public final float maxDist
    • restrictionID

      public final net.minecraft.resources.ResourceLocation restrictionID
    • stopOnDeath

      public final boolean stopOnDeath
    • CODEC

      public static final com.mojang.serialization.Codec<MovingLoopingFadingDistanceSoundEntityManager.FadingDistanceSoundLoopNBT> CODEC
  • Constructor Details

    • FadingDistanceSoundLoopNBT

      public FadingDistanceSoundLoopNBT(net.minecraft.resources.ResourceLocation soundEventID, net.minecraft.resources.ResourceLocation sound2EventID, String ordinal, float vol, float pitch, net.minecraft.resources.ResourceLocation restrictionID, boolean stopOnDeath, float fadeDist, float maxDist)
    • FadingDistanceSoundLoopNBT

      public FadingDistanceSoundLoopNBT(net.minecraft.resources.ResourceLocation soundEventID, net.minecraft.resources.ResourceLocation sound2EventID, net.minecraft.sounds.SoundSource category, float vol, float pitch, net.minecraft.resources.ResourceLocation restrictionID, boolean stopOnDeath, float fadeDist, float maxDist)
  • Method Details

    • getSoundEventID

      public net.minecraft.resources.ResourceLocation getSoundEventID()
    • getSound2EventID

      public net.minecraft.resources.ResourceLocation getSound2EventID()
    • getOrdinal

      public String getOrdinal()
    • getVolume

      public float getVolume()
    • getPitch

      public float getPitch()
    • getFadeDist

      public float getFadeDist()
    • getMaxDist

      public float getMaxDist()
    • getRestrictionID

      public net.minecraft.resources.ResourceLocation getRestrictionID()
    • getStopOnDeath

      public boolean getStopOnDeath()