Package net.frozenblock.lib.sound.api
Class FrozenSoundPackets
java.lang.Object
net.frozenblock.lib.sound.api.FrozenSoundPackets
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcreateFadingDistanceSound(@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 voidcreateFlybySound(@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 voidcreateLocalPlayerSound(net.minecraft.server.level.ServerPlayer player, net.minecraft.sounds.SoundEvent sound, float volume, float pitch) static voidcreateLocalSound(@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 voidcreateLocalSound(@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 voidcreateMovingRestrictionFadingDistanceSound(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 voidcreateMovingRestrictionLoopingFadingDistanceSound(@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 voidcreateMovingRestrictionLoopingFadingDistanceSound(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 voidcreateMovingRestrictionLoopingSound(@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 voidcreateMovingRestrictionLoopingSound(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 voidcreateMovingRestrictionSound(@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 voidcreateStartingMovingRestrictionLoopingSound(@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 voidcreateStartingMovingRestrictionLoopingSound(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)
-
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)
-