Class FrozenSoundPackets

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

public class FrozenSoundPackets extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    createFadingDistanceSound(@NotNull net.minecraft.world.level.Level level, net.minecraft.world.phys.Vec3 pos, net.minecraft.core.Holder<net.minecraft.sounds.SoundEvent> sound, net.minecraft.core.Holder<net.minecraft.sounds.SoundEvent> sound2, net.minecraft.sounds.SoundSource category, float volume, float pitch, float fadeDist, float maxDist)
     
    static void
    createFlybySound(@NotNull net.minecraft.world.level.Level world, net.minecraft.world.entity.Entity entity, net.minecraft.core.Holder<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.core.Holder<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.core.Holder<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.core.Holder<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.core.Holder<net.minecraft.sounds.SoundEvent> sound, net.minecraft.core.Holder<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.core.Holder<net.minecraft.sounds.SoundEvent> sound, net.minecraft.core.Holder<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 level, net.minecraft.world.entity.Entity entity, net.minecraft.core.Holder<net.minecraft.sounds.SoundEvent> sound, net.minecraft.core.Holder<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(net.minecraft.server.level.ServerPlayer player, @NotNull net.minecraft.world.entity.Entity entity, net.minecraft.core.Holder<net.minecraft.sounds.SoundEvent> sound, net.minecraft.sounds.SoundSource category, float volume, float pitch, net.minecraft.resources.ResourceLocation id, boolean stopOnDeath)
     
    static void
    createMovingRestrictionLoopingSound(@NotNull net.minecraft.world.level.Level world, net.minecraft.world.entity.Entity entity, net.minecraft.core.Holder<net.minecraft.sounds.SoundEvent> sound, net.minecraft.sounds.SoundSource category, float volume, float pitch, net.minecraft.resources.ResourceLocation predicate, boolean stopOnDeath)
     
    static void
    createMovingRestrictionSound(@NotNull net.minecraft.world.level.Level world, net.minecraft.world.entity.Entity entity, net.minecraft.core.Holder<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.core.Holder<net.minecraft.sounds.SoundEvent> startingSound, net.minecraft.core.Holder<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.core.Holder<net.minecraft.sounds.SoundEvent> startingSound, net.minecraft.core.Holder<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
  • Constructor Details

    • FrozenSoundPackets

      public FrozenSoundPackets()
  • Method Details

    • createLocalSound

      public static void createLocalSound(@NotNull @NotNull net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.core.Holder<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.core.Holder<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.core.Holder<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.core.Holder<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.core.Holder<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.core.Holder<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 level, net.minecraft.world.entity.Entity entity, net.minecraft.core.Holder<net.minecraft.sounds.SoundEvent> sound, net.minecraft.core.Holder<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.core.Holder<net.minecraft.sounds.SoundEvent> sound, net.minecraft.core.Holder<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.core.Holder<net.minecraft.sounds.SoundEvent> sound, net.minecraft.core.Holder<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 level, net.minecraft.world.phys.Vec3 pos, net.minecraft.core.Holder<net.minecraft.sounds.SoundEvent> sound, net.minecraft.core.Holder<net.minecraft.sounds.SoundEvent> sound2, net.minecraft.sounds.SoundSource category, float volume, float pitch, 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.core.Holder<net.minecraft.sounds.SoundEvent> startingSound, net.minecraft.core.Holder<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.core.Holder<net.minecraft.sounds.SoundEvent> startingSound, net.minecraft.core.Holder<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.core.Holder<net.minecraft.sounds.SoundEvent> sound, float volume, float pitch)