From d61b1d48b7694100858afe2d91edbf6e7ac829b5 Mon Sep 17 00:00:00 2001 From: TheMode Date: Tue, 27 Jul 2021 06:58:42 +0200 Subject: [PATCH] Remove SoundCategory.java --- .../minestom/server/sound/SoundCategory.java | 37 ------------------- 1 file changed, 37 deletions(-) delete mode 100644 src/main/java/net/minestom/server/sound/SoundCategory.java diff --git a/src/main/java/net/minestom/server/sound/SoundCategory.java b/src/main/java/net/minestom/server/sound/SoundCategory.java deleted file mode 100644 index bd189fba8..000000000 --- a/src/main/java/net/minestom/server/sound/SoundCategory.java +++ /dev/null @@ -1,37 +0,0 @@ -package net.minestom.server.sound; - -import net.kyori.adventure.sound.Sound; -import org.jetbrains.annotations.NotNull; - -/** - * @deprecated Use {@link Sound.Source} - */ -@Deprecated -public enum SoundCategory implements Sound.Source.Provider { - MASTER, - MUSIC, - RECORDS, - WEATHER, - BLOCKS, - HOSTILE, - NEUTRAL, - PLAYERS, - AMBIENT, - VOICE; - - /** - * Gets the Adventure source representing this sound category. - * - * @return the source - * @deprecated Use {@link #soundSource()} - */ - @Deprecated - public @NotNull Sound.Source asSource() { - return this.soundSource(); - } - - @Override - public @NotNull Sound.Source soundSource() { - return Sound.Source.values()[this.ordinal()]; - } -}