Commits
Parker Hawke authored and md_5 committed 51a6449bcee
1039 1039 | */ |
1040 1040 | Tag<Material> ITEMS_HOES = Bukkit.getTag(REGISTRY_ITEMS, NamespacedKey.minecraft("hoes"), Material.class); |
1041 1041 | /** |
1042 1042 | * Vanilla item tag representing all pickaxes. |
1043 1043 | */ |
1044 1044 | Tag<Material> ITEMS_PICKAXES = Bukkit.getTag(REGISTRY_ITEMS, NamespacedKey.minecraft("pickaxes"), Material.class); |
1045 1045 | /** |
1046 1046 | * Vanilla item tag representing all shovels. |
1047 1047 | */ |
1048 1048 | Tag<Material> ITEMS_SHOVELS = Bukkit.getTag(REGISTRY_ITEMS, NamespacedKey.minecraft("shovels"), Material.class); |
1049 - | /** |
1050 - | * Vanilla item tag representing all tools. |
1051 - | */ |
1052 - | Tag<Material> ITEMS_TOOLS = Bukkit.getTag(REGISTRY_ITEMS, NamespacedKey.minecraft("tools"), Material.class); |
1053 1049 | /** |
1054 1050 | * Vanilla item tag representing all items which break decorated pots. |
1055 1051 | */ |
1056 1052 | Tag<Material> ITEMS_BREAKS_DECORATED_POTS = Bukkit.getTag(REGISTRY_ITEMS, NamespacedKey.minecraft("breaks_decorated_pots"), Material.class); |
1053 + | /** |
1054 + | * Vanilla item tag representing all tools. |
1055 + | * |
1056 + | * @deprecated removed in Minecraft 1.20.5. Do not use. Will be removed at a later date. Until then, |
1057 + | * this constant now acts as a reference to {@link #ITEMS_BREAKS_DECORATED_POTS} which largely shares |
1058 + | * the same contents of the old "minecraft:tools" tag. |
1059 + | */ |
1060 + | forRemoval = true) | (
1061 + | Tag<Material> ITEMS_TOOLS = ITEMS_BREAKS_DECORATED_POTS; |
1057 1062 | /** |
1058 1063 | * Vanilla item tag representing all seeds planteable by villagers. |
1059 1064 | */ |
1060 1065 | Tag<Material> ITEMS_VILLAGER_PLANTABLE_SEEDS = Bukkit.getTag(REGISTRY_ITEMS, NamespacedKey.minecraft("villager_plantable_seeds"), Material.class); |
1061 1066 | /** |
1062 1067 | * Vanilla item tag representing all dyeable items. |
1063 1068 | */ |
1064 1069 | Tag<Material> ITEMS_DYEABLE = Bukkit.getTag(REGISTRY_ITEMS, NamespacedKey.minecraft("dyeable"), Material.class); |
1065 1070 | /** |
1066 1071 | * Vanilla item tag representing all enchantable foot armor. |