Class FrozenSoundPackets

java.lang.Object
net.frozenblock.lib.sound.api.FrozenSoundPackets

public final class FrozenSoundPackets extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    createFadingDistanceSound(@NotNull net.minecraft.world.level.Level world, org.joml.Vector3d pos, net.minecraft.sounds.SoundEvent sound, net.minecraft.sounds.SoundEvent sound2, net.minecraft.sounds.SoundSource category, float volume, float pitch, net.minecraft.resources.ResourceLocation predicate, boolean stopOnDeath, float fadeDist, float maxDist)
     
    static void
    createFlybySound(@NotNull net.minecraft.world.level.Level world, net.minecraft.world.entity.Entity entity, net.minecraft.sounds.SoundEvent sound, net.minecraft.sounds.SoundSource category, float volume, float pitch)
     
    static void
    createLocalPlayerSound(net.minecraft.server.level.ServerPlayer player, net.minecraft.sounds.SoundEvent sound, float volume, float pitch)
     
    static void
    createLocalSound(@NotNull net.minecraft.world.level.Level level, double x, double y, double z, net.minecraft.sounds.SoundEvent sound, net.minecraft.sounds.SoundSource source, float volume, float pitch, boolean distanceDelay)
     
    static void
    createLocalSound(@NotNull net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.sounds.SoundEvent sound, net.minecraft.sounds.SoundSource source, float volume, float pitch, boolean distanceDelay)
     
    static void
    createMovingRestrictionFadingDistanceSound(net.minecraft.server.level.ServerPlayer player, @NotNull net.minecraft.world.entity.Entity entity, net.minecraft.sounds.SoundEvent sound, net.minecraft.sounds.SoundEvent sound2, net.minecraft.sounds.SoundSource category, float volume, float pitch, net.minecraft.resources.ResourceLocation predicate, boolean stopOnDeath, float fadeDist, float maxDist)
     
    static void
    createMovingRestrictionLoopingFadingDistanceSound(@NotNull net.minecraft.world.level.Level world, net.minecraft.world.entity.Entity entity, net.minecraft.sounds.SoundEvent sound, net.minecraft.sounds.SoundEvent sound2, net.minecraft.sounds.SoundSource category, float volume, float pitch, net.minecraft.resources.ResourceLocation predicate, boolean stopOnDeath, float fadeDist, float maxDist)
     
    static void
    createMovingRestrictionLoopingFadingDistanceSound(net.minecraft.server.level.ServerPlayer player, @NotNull net.minecraft.world.entity.Entity entity, net.minecraft.sounds.SoundEvent sound, net.minecraft.sounds.SoundEvent sound2, net.minecraft.sounds.SoundSource category, float volume, float pitch, net.minecraft.resources.ResourceLocation predicate, boolean stopOnDeath, float fadeDist, float maxDist)
     
    static void
    createMovingRestrictionLoopingSound(@NotNull net.minecraft.world.level.Level world, net.minecraft.world.entity.Entity entity, net.minecraft.sounds.SoundEvent sound, net.minecraft.sounds.SoundSource category, float volume, float pitch, net.minecraft.resources.ResourceLocation predicate, boolean stopOnDeath)
     
    static void
    createMovingRestrictionLoopingSound(net.minecraft.server.level.ServerPlayer player, @NotNull net.minecraft.world.entity.Entity entity, net.minecraft.sounds.SoundEvent sound, net.minecraft.sounds.SoundSource category, float volume, float pitch, net.minecraft.resources.ResourceLocation id, boolean stopOnDeath)
     
    static void
    createMovingRestrictionSound(@NotNull net.minecraft.world.level.Level world, net.minecraft.world.entity.Entity entity, net.minecraft.sounds.SoundEvent sound, net.minecraft.sounds.SoundSource category, float volume, float pitch, net.minecraft.resources.ResourceLocation predicate, boolean stopOnDeath)
     
    static void
    createStartingMovingRestrictionLoopingSound(@NotNull net.minecraft.world.level.Level world, net.minecraft.world.entity.Entity entity, net.minecraft.sounds.SoundEvent startingSound, net.minecraft.sounds.SoundEvent sound, net.minecraft.sounds.SoundSource category, float volume, float pitch, net.minecraft.resources.ResourceLocation predicate, boolean stopOnDeath)
     
    static void
    createStartingMovingRestrictionLoopingSound(net.minecraft.server.level.ServerPlayer player, @NotNull net.minecraft.world.entity.Entity entity, net.minecraft.sounds.SoundEvent startingSound, net.minecraft.sounds.SoundEvent sound, net.minecraft.sounds.SoundSource category, float volume, float pitch, net.minecraft.resources.ResourceLocation predicate, boolean stopOnDeath)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • createLocalSound

      public static void createLocalSound(@NotNull @NotNull net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.sounds.SoundEvent sound, net.minecraft.sounds.SoundSource source, float volume, float pitch, boolean distanceDelay)
    • createLocalSound

      public static void createLocalSound(@NotNull @NotNull net.minecraft.world.level.Level level, double x, double y, double z, net.minecraft.sounds.SoundEvent sound, net.minecraft.sounds.SoundSource source, float volume, float pitch, boolean distanceDelay)
    • createFlybySound

      public static void createFlybySound(@NotNull @NotNull net.minecraft.world.level.Level world, net.minecraft.world.entity.Entity entity, net.minecraft.sounds.SoundEvent sound, net.minecraft.sounds.SoundSource category, float volume, float pitch)
    • createMovingRestrictionSound

      public static void createMovingRestrictionSound(@NotNull @NotNull net.minecraft.world.level.Level world, net.minecraft.world.entity.Entity entity, net.minecraft.sounds.SoundEvent sound, net.minecraft.sounds.SoundSource category, float volume, float pitch, net.minecraft.resources.ResourceLocation predicate, boolean stopOnDeath)
    • createMovingRestrictionLoopingSound

      public static void createMovingRestrictionLoopingSound(@NotNull @NotNull net.minecraft.world.level.Level world, net.minecraft.world.entity.Entity entity, net.minecraft.sounds.SoundEvent sound, net.minecraft.sounds.SoundSource category, float volume, float pitch, net.minecraft.resources.ResourceLocation predicate, boolean stopOnDeath)
    • createMovingRestrictionLoopingSound

      public static void createMovingRestrictionLoopingSound(net.minecraft.server.level.ServerPlayer player, @NotNull @NotNull net.minecraft.world.entity.Entity entity, net.minecraft.sounds.SoundEvent sound, net.minecraft.sounds.SoundSource category, float volume, float pitch, net.minecraft.resources.ResourceLocation id, boolean stopOnDeath)
    • createMovingRestrictionLoopingFadingDistanceSound

      public static void createMovingRestrictionLoopingFadingDistanceSound(@NotNull @NotNull net.minecraft.world.level.Level world, net.minecraft.world.entity.Entity entity, net.minecraft.sounds.SoundEvent sound, net.minecraft.sounds.SoundEvent sound2, net.minecraft.sounds.SoundSource category, float volume, float pitch, net.minecraft.resources.ResourceLocation predicate, boolean stopOnDeath, float fadeDist, float maxDist)
    • createMovingRestrictionLoopingFadingDistanceSound

      public static void createMovingRestrictionLoopingFadingDistanceSound(net.minecraft.server.level.ServerPlayer player, @NotNull @NotNull net.minecraft.world.entity.Entity entity, net.minecraft.sounds.SoundEvent sound, net.minecraft.sounds.SoundEvent sound2, net.minecraft.sounds.SoundSource category, float volume, float pitch, net.minecraft.resources.ResourceLocation predicate, boolean stopOnDeath, float fadeDist, float maxDist)
    • createMovingRestrictionFadingDistanceSound

      public static void createMovingRestrictionFadingDistanceSound(net.minecraft.server.level.ServerPlayer player, @NotNull @NotNull net.minecraft.world.entity.Entity entity, net.minecraft.sounds.SoundEvent sound, net.minecraft.sounds.SoundEvent sound2, net.minecraft.sounds.SoundSource category, float volume, float pitch, net.minecraft.resources.ResourceLocation predicate, boolean stopOnDeath, float fadeDist, float maxDist)
    • createFadingDistanceSound

      public static void createFadingDistanceSound(@NotNull @NotNull net.minecraft.world.level.Level world, org.joml.Vector3d pos, net.minecraft.sounds.SoundEvent sound, net.minecraft.sounds.SoundEvent sound2, net.minecraft.sounds.SoundSource category, float volume, float pitch, net.minecraft.resources.ResourceLocation predicate, boolean stopOnDeath, float fadeDist, float maxDist)
    • createStartingMovingRestrictionLoopingSound

      public static void createStartingMovingRestrictionLoopingSound(@NotNull @NotNull net.minecraft.world.level.Level world, net.minecraft.world.entity.Entity entity, net.minecraft.sounds.SoundEvent startingSound, net.minecraft.sounds.SoundEvent sound, net.minecraft.sounds.SoundSource category, float volume, float pitch, net.minecraft.resources.ResourceLocation predicate, boolean stopOnDeath)
    • createStartingMovingRestrictionLoopingSound

      public static void createStartingMovingRestrictionLoopingSound(net.minecraft.server.level.ServerPlayer player, @NotNull @NotNull net.minecraft.world.entity.Entity entity, net.minecraft.sounds.SoundEvent startingSound, net.minecraft.sounds.SoundEvent sound, net.minecraft.sounds.SoundSource category, float volume, float pitch, net.minecraft.resources.ResourceLocation predicate, boolean stopOnDeath)
    • createLocalPlayerSound

      public static void createLocalPlayerSound(net.minecraft.server.level.ServerPlayer player, net.minecraft.sounds.SoundEvent sound, float volume, float pitch)