ConfigurableLootDiscovery
Note: This modification is no longer supported by the developer. Instead, it is recommended to use the Dropt mod.
This modification allows configuring additional drops for any blocks in the game through JSON configurations. You can set drop chances and require specific tools to obtain additional loot.
Key Features
- All block and item names are specified in registry name format
- Drop chance is calculated as 1/specified_value. For example, a value of 5 means a probability of 1/5 - the item will drop approximately every fifth block break
- In the "toolRep" parameter, you can use values "nothing" (without tool) and "anything" (any tool)
Configuration Syntax Example
{
"BLOCKNAME": [
{
"toolRep": "<TOOLNAME:<META (you can use '' for any value)>",
"lootRep": "LOOTNAME:<QUANTITY>:<META (do not use '' here!)>",
"chance": INTEGER
}
]
}
The < and > symbols denote optional parameters in the configuration.