Datapack tag New
Datapack registry tagDatapack registry tags
Tags let you define custom element groups for other functionalities like Advancements or Recipes.
-
Create a folder named
tagsin your Datapack namespaceDirectory<datapack>
- pack.mcmeta
- pack.png
Directorydata
Directoryminecraft
- …
Directory<namespace>
Directorytags
- …
-
Tags can affect completely different areas of Minecraft, so to keep things organized and isolated, you’ll need to create a subfolder for the context you want your tag to be aviable in
Folder Context banner_patternBanner patterns biomeBiome specific spawnable structures blockAdvancements and world generation damage_typeDamage types dialogDialogs enchantmentEnchantment book drops entity_typeTarget selectors flat_level_generator_presetFlat level generator presets fluidFluids functionFunctions game_eventGame events instrumentInstrument itemRecipes and filtering painting_variantPainting variants point_of_interestPoint of interests structureStructures world_presetsWorld presents -
Create a
<tag>.jsonfile for your tag and list the element Identifiersoak.json {"values": [// element identifiers"minecraft:oak_log","minecraft:oak_planks",]} -
Done