From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Jake Potrebic Date: Sun, 3 Jan 2021 20:03:40 -0800 Subject: [PATCH] Added Vanilla Entity Tags diff --git a/src/main/java/org/bukkit/Tag.java b/src/main/java/org/bukkit/Tag.java index 42d0f31c2be2d39c4481f98c0756c4f1ae337717..20f033b9eda656cf0bdc91c3cf046f90a4be87fd 100644 --- a/src/main/java/org/bukkit/Tag.java +++ b/src/main/java/org/bukkit/Tag.java @@ -702,6 +702,44 @@ public interface Tag extends Keyed { * Vanilla tag representing entities extra susceptible to freezing. */ Tag ENTITY_TYPES_FREEZE_HURTS_EXTRA_TYPES = Bukkit.getTag(REGISTRY_ENTITY_TYPES, NamespacedKey.minecraft("freeze_hurts_extra_types"), EntityType.class); + // Paper start + /** + * Key for the built-in entity registry + * @deprecated use {@link #REGISTRY_ENTITY_TYPES} + */ + @Deprecated(forRemoval = true) + String REGISTRY_ENTITIES = REGISTRY_ENTITY_TYPES; + /** + * Vanilla entity tag representing arrow entities. + * @deprecated use {@link #ENTITY_TYPES_ARROWS} + */ + @Deprecated(forRemoval = true) + Tag ARROWS = ENTITY_TYPES_ARROWS; + /** + * Vanilla entity tag representing entities that live in beehives + * @deprecated use {@link #ENTITY_TYPES_BEEHIVE_INHABITORS} + */ + @Deprecated(forRemoval = true) + Tag BEEHIVE_INHABITORS = ENTITY_TYPES_BEEHIVE_INHABITORS; + /** + * Vanilla entity tag representing projectiles that impact + * @deprecated use {@link #ENTITY_TYPES_IMPACT_PROJECTILES} + */ + @Deprecated(forRemoval = true) + Tag IMPACT_PROJECTILES = ENTITY_TYPES_IMPACT_PROJECTILES; + /** + * Vanilla entity tag for village raiders + * @deprecated use {@link #ENTITY_TYPES_RAIDERS} + */ + @Deprecated(forRemoval = true) + Tag RAIDERS = ENTITY_TYPES_RAIDERS; + /** + * Vanilla entity tag for skeleton types + * @deprecated use {@link #ENTITY_TYPES_SKELETONS} + */ + @Deprecated(forRemoval = true) + Tag SKELETONS = ENTITY_TYPES_SKELETONS; + // Paper end /** * Returns whether or not this tag has an entry for the specified item.