mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-07 23:52:11 -07:00
#1008: Deprecate ITEMS_TOOLS, removed in 1.20.5
By: 2008Choco <hawkeboyz2@hotmail.com>
This commit is contained in:
@@ -1046,14 +1046,19 @@ public interface Tag<T extends Keyed> extends Keyed {
|
|||||||
* Vanilla item tag representing all shovels.
|
* Vanilla item tag representing all shovels.
|
||||||
*/
|
*/
|
||||||
Tag<Material> ITEMS_SHOVELS = Bukkit.getTag(REGISTRY_ITEMS, NamespacedKey.minecraft("shovels"), Material.class);
|
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.
|
* 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);
|
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.
|
* Vanilla item tag representing all seeds planteable by villagers.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user