Expected behavior
The header documentation on https://jd.papermc.io/paper/1.21.4/io/papermc/paper/tag/PreFlattenTagRegistrar.html gives example code for creating a new tag but does not include the definition of the tag itself, just how to give it a value. The original PR included this bit of code which is missing:
public static final TagKey<ItemType> AXE_PICKAXE = TagKey.create(RegistryKey.ITEM, Key.key("test", "axe_pickaxe"));
Observed/Actual behavior
Non-functional example due to missing variable definition.
Steps/models to reproduce
Look at the documentation, try to use the example to make your own tag.
Plugin and Datapack List
N/A
Paper version
N/A
Other
No response
Expected behavior
The header documentation on https://jd.papermc.io/paper/1.21.4/io/papermc/paper/tag/PreFlattenTagRegistrar.html gives example code for creating a new tag but does not include the definition of the tag itself, just how to give it a value. The original PR included this bit of code which is missing:
public static final TagKey<ItemType> AXE_PICKAXE = TagKey.create(RegistryKey.ITEM, Key.key("test", "axe_pickaxe"));Observed/Actual behavior
Non-functional example due to missing variable definition.
Steps/models to reproduce
Look at the documentation, try to use the example to make your own tag.
Plugin and Datapack List
N/A
Paper version
N/A
Other
No response