How do I create custom vanilla restrictions for the LevelZ mod using datapacks?
I'm using the LevelZ mod to balance my modpack, but I'm running into an interesting problem. I am using modrinth to create this modpack. I'm able to configure the restrictions for modded items just fine, using this format:
{ "replace": true, "skill": "strength", "level": 20, "item": "minecraft:custom_item", "object": "MOD_DESIGNATION:MODDED_ITEM_TAG" }However, I can't find a way to edit vanilla item restrictions. Here's what I've tried so far:
`{ "replace": true, "skill": "strength", "level": 20, "item": "minecraft:diamond_sword", "object": "minecraft:diamond_sword" //tried removing this as well, since vanilla shouldn't need object designation (I think)
}`
{ "diamond_sword_restriction": { "skills": { "strength": 20 }, "items": [ "minecraft:diamond_sword" ] } }No matter what, the game forces the restriction of strength 16 on the diamond sword (and other items). I have a couple ideas as to why this might be happening:
- The modpack contains some mod that defines the restrictions of vanilla items and takes priority over datapacks
- I'm not formatting the restriction correctly
IMPORTANT INFO
Minecraft version: 1.20.1
File path: C:\Users\MY_NAME\AppData\Roaming\ModrinthApp\profiles\MODPACK_PROFILE_NAME\saves\Test World\datapacks\test_restriction_pack\data\levelz\item\test.json
Documentation for the LevelZ mod: https://github.com/Globox1997/LevelZ (In the README section)