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.
- Common Tag
- 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.
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.
data/minecolonies_tweaks/tags/items/custom_tools/pickaxe/5.json
{
"values":[
"mekanism:atomic_disassembler"
]
}