From d670f11766e363413fcd4926aa87ee3c9f9791cb Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sun, 11 Dec 2022 10:04:14 +1100 Subject: [PATCH] SPIGOT-7202: Deprecate removed door effects By: md_5 --- .../src/main/java/org/bukkit/Effect.java | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/Effect.java b/paper-api/src/main/java/org/bukkit/Effect.java index bf752c5a71..879d637691 100644 --- a/paper-api/src/main/java/org/bukkit/Effect.java +++ b/paper-api/src/main/java/org/bukkit/Effect.java @@ -25,43 +25,73 @@ public enum Effect { BOW_FIRE(1002, Type.SOUND), /** * Sound of a door opening. + * @deprecated no longer exists + * @see Sound#BLOCK_WOODEN_DOOR_OPEN */ + @Deprecated DOOR_TOGGLE(1006, Type.SOUND), /** * Sound of a door opening. + * @deprecated no longer exists + * @see Sound#BLOCK_IRON_DOOR_OPEN */ + @Deprecated IRON_DOOR_TOGGLE(1005, Type.SOUND), /** * Sound of a trapdoor opening. + * @deprecated no longer exists + * @see Sound#BLOCK_WOODEN_TRAPDOOR_OPEN */ + @Deprecated TRAPDOOR_TOGGLE(1007, Type.SOUND), /** * Sound of a door opening. + * @deprecated no longer exists + * @see Sound#BLOCK_IRON_TRAPDOOR_OPEN */ + @Deprecated IRON_TRAPDOOR_TOGGLE(1037, Type.SOUND), /** * Sound of a door opening. + * @deprecated no longer exists + * @see Sound#BLOCK_FENCE_GATE_OPEN */ + @Deprecated FENCE_GATE_TOGGLE(1008, Type.SOUND), /** * Sound of a door closing. + * @deprecated no longer exists + * @see Sound#BLOCK_WOODEN_DOOR_CLOSE */ + @Deprecated DOOR_CLOSE(1012, Type.SOUND), /** * Sound of a door closing. + * @deprecated no longer exists + * @see Sound#BLOCK_IRON_DOOR_CLOSE */ + @Deprecated IRON_DOOR_CLOSE(1011, Type.SOUND), /** * Sound of a trapdoor closing. + * @deprecated no longer exists + * @see Sound#BLOCK_WOODEN_TRAPDOOR_CLOSE */ + @Deprecated TRAPDOOR_CLOSE(1013, Type.SOUND), /** * Sound of a door closing. + * @deprecated no longer exists + * @see Sound#BLOCK_IRON_TRAPDOOR_CLOSE */ + @Deprecated IRON_TRAPDOOR_CLOSE(1036, Type.SOUND), /** * Sound of a door closing. + * @deprecated no longer exists + * @see Sound#BLOCK_FENCE_GATE_CLOSE */ + @Deprecated FENCE_GATE_CLOSE(1014, Type.SOUND), /** * Sound of fire being extinguished.