mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-05 16:49:39 +00:00
#1008: Deprecate ITEMS_TOOLS, removed in 1.20.5
This commit is contained in:
parent
702d15fea4
commit
51a6449bce
1 changed files with 9 additions and 4 deletions
|
@ -1046,14 +1046,19 @@ public interface Tag<T extends Keyed> extends Keyed {
|
|||
* Vanilla item tag representing all shovels.
|
||||
*/
|
||||
Tag<Material> ITEMS_SHOVELS = Bukkit.getTag(REGISTRY_ITEMS, NamespacedKey.minecraft("shovels"), Material.class);
|
||||
/**
|
||||
* Vanilla item tag representing all tools.
|
||||
*/
|
||||
Tag<Material> ITEMS_TOOLS = Bukkit.getTag(REGISTRY_ITEMS, NamespacedKey.minecraft("tools"), Material.class);
|
||||
/**
|
||||
* Vanilla item tag representing all items which break decorated pots.
|
||||
*/
|
||||
Tag<Material> ITEMS_BREAKS_DECORATED_POTS = Bukkit.getTag(REGISTRY_ITEMS, NamespacedKey.minecraft("breaks_decorated_pots"), Material.class);
|
||||
/**
|
||||
* Vanilla item tag representing all tools.
|
||||
*
|
||||
* @deprecated removed in Minecraft 1.20.5. Do not use. Will be removed at a later date. Until then,
|
||||
* this constant now acts as a reference to {@link #ITEMS_BREAKS_DECORATED_POTS} which largely shares
|
||||
* the same contents of the old "minecraft:tools" tag.
|
||||
*/
|
||||
@Deprecated(forRemoval = true)
|
||||
Tag<Material> ITEMS_TOOLS = ITEMS_BREAKS_DECORATED_POTS;
|
||||
/**
|
||||
* Vanilla item tag representing all seeds planteable by villagers.
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue