mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-16 06:30:46 +01:00
#1008: Deprecate ITEMS_TOOLS, removed in 1.20.5
By: 2008Choco <hawkeboyz2@hotmail.com>
This commit is contained in:
parent
b7f877a67d
commit
d8b68e62df
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…
Reference in a new issue