forked from Azanor/Baubles
-
Notifications
You must be signed in to change notification settings - Fork 2
Modules
darktire edited this page Mar 24, 2026
·
2 revisions
- this json is used to define modules, which will be used in items_json
- your types_json files should be located in
your_minecraft_folder/config/baubles/* - edit the cfg option
typesjsonto set the files you want to load in your game
{
"name1": {
"module": "potion",
"potionName": "potion id",
"perLevel": 1, // the level provided by one module
"limit": 0 // 0 means unlimited
},
"name2": {
"module": "attribute",
"uuid": "a special uuid",
"attrName": "attribute name",
"perLevel": 1, // the level provided by one module
"operation": 0
}
}If you loaded some modules in game, you can use its name to call them in items_json.
{
"name1": {
"module": "potion",
"potionName": "minecraft:water_breathing",
"perLevel": 1,
"limit": 0
},
"name2": {
"module": "attribute",
"uuid": "9f122a20-7ddd-4399-60bf-f9964b7254c9",
"attrName": "baubles.amulet",
"perLevel": 1,
"operation": 0
}
}