Package net.frozenblock.lib.sound.api
Class MovingLoopingFadingDistanceSoundEntityManager.FadingDistanceSoundLoopNBT
java.lang.Object
net.frozenblock.lib.sound.api.MovingLoopingFadingDistanceSoundEntityManager.FadingDistanceSoundLoopNBT
- Enclosing class:
- MovingLoopingFadingDistanceSoundEntityManager
public static class MovingLoopingFadingDistanceSoundEntityManager.FadingDistanceSoundLoopNBT
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Stringstatic final com.mojang.serialization.Codec<MovingLoopingFadingDistanceSoundEntityManager.FadingDistanceSoundLoopNBT>final floatfinal floatfinal floatfinal net.minecraft.resources.ResourceLocationfinal net.minecraft.resources.ResourceLocationfinal net.minecraft.resources.ResourceLocationfinal booleanfinal float -
Constructor Summary
ConstructorsConstructorDescriptionFadingDistanceSoundLoopNBT(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(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 Summary
Modifier and TypeMethodDescriptionfloatfloatfloatgetPitch()net.minecraft.resources.ResourceLocationnet.minecraft.resources.ResourceLocationnet.minecraft.resources.ResourceLocationbooleanfloat
-
Field Details
-
soundEventID
public final net.minecraft.resources.ResourceLocation soundEventID -
sound2EventID
public final net.minecraft.resources.ResourceLocation sound2EventID -
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
-
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()
-