Dropt Mod — Configuration
Configuration (JSON)
Dropt configurations are stored in config/dropt/ as .json files. You can create as many files as needed; the mod will load all of them alphabetically.
JSON Structure Example
{
"rules": [
{
"match": {
"blocks": {
"blocks": ["minecraft:stone:0"]
},
"harvester": {
"type": "PLAYER",
"heldItemMainHand": {
"items": ["minecraft:diamond_pickaxe:*"]
}
}
},
"replaceStrategy": "REPLACE_ALL",
"drops": [
{
"item": {
"items": ["minecraft:gold_ingot"],
"quantity": {
"min": 1,
"max": 3
}
}
}
]
}
]
}
Commands
Dropt includes several utility commands to assist modpack authors in development and debugging.
/dropt reload: Reloads all JSON and ZenScript rules without restarting the game. Errors will be printed to the chat./dropt hand: Copies the formatted string of the item currently in your hand to the clipboard. This is extremely useful for capturing complex NBT data for use in JSON rules./dropt verbose: Toggles verbose logging. When enabled, breaking any block will log its registry name and metadata to the console, helping you identify exactly what to target in your rules.