Tool Level Tags - gisellevonbingen-Minecraft/MineColonies_Tweaks GitHub Wiki

Should add tag to item to register to tool type.(both Existing, Custom Types) And each custom tool type have two tag types.

  1. Common Tag
  2. Level Tag

The item to registered, even have either one.

Common Tag

Common tag name is minecolonies_tweaks:custom_tools/TOOL_NAME. If the item have only common tag, its tool/mining level is set as default level.

data/minecolonies_tweaks/tags/items/custom_tools/TOOL_NAME.json

{
   "values":[
      "namespace:path"
   ]
}

Level Tag

Each level tag name is minecolonies_tweaks:custom_tools/TOOL_NAME/LEVEL. if the item have 'level tag', its tool/mining level is set as LEVEL number after TOOL_NAME from tag name. Level range is 0 ~ 5.

Example 1

Add custom tool type's level tag to farmersdelight's knifes.

image

data/minecolonies_tweaks/tags/items/custom_tools/knives/1.json

{
   "values":[
      "farmersdelight:flint_knife",
      "farmersdelight:golden_knife"
   ]
}

data/minecolonies_tweaks/tags/items.custom_tools/knives/3.json

{
   "values":[
      "farmersdelight:iron_knife"
   ]
}

data/minecolonies_tweaks/tags/items/custom_tools/knives/4.json

{
   "values":[
      "farmersdelight:diamond_knife",
      "farmersdelight:netherite_knife"
   ]
}

Example 2

Add 'Pickaxe' tool type's level tag to Mekanism's Atomic Disassembler.

image

data/minecolonies_tweaks/tags/items/custom_tools/pickaxe/5.json

{
   "values":[
      "mekanism:atomic_disassembler"
   ]
}