Class MovingLoopingSoundEntityManager.SoundLoopData

java.lang.Object
net.frozenblock.lib.sound.api.MovingLoopingSoundEntityManager.SoundLoopData
Enclosing class:
MovingLoopingSoundEntityManager

public static class MovingLoopingSoundEntityManager.SoundLoopData extends Object
  • Field Details

    • soundEventID

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

      public final String categoryOrdinal
    • volume

      public final float volume
    • pitch

      public final float pitch
    • restrictionID

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

      public final boolean stopOnDeath
    • CODEC

      public static final com.mojang.serialization.Codec<MovingLoopingSoundEntityManager.SoundLoopData> CODEC
  • Constructor Details

    • SoundLoopData

      public SoundLoopData(net.minecraft.resources.ResourceLocation soundEventID, String ordinal, float vol, float pitch, net.minecraft.resources.ResourceLocation restrictionID, boolean stopOnDeath)
    • SoundLoopData

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

    • getSoundEventID

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

      public String getOrdinal()
    • getVolume

      public float getVolume()
    • getPitch

      public float getPitch()
    • getRestrictionID

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

      public boolean getStopOnDeath()