
LootTweaks
The LootTweaks modification utilizes the innovative LuaBlock system, which was originally developed for CondensedOres and has since found application in creating custom recipes for various mods. This system allows flexible customization of loot tables present in the game.
Main Features
LootTweaks provides a rich set of operations for fine-tuning loot:
- Complete clearing of loot tables
- Removal of specific items
- Addition of new items
- Modification of item weights (drop probability)
- Adjustment of drop probability boundaries (minimum and maximum chance)
- Regulation of item quantities (minimum and maximum number)
- Modification of item NBT data
- Creation of "tier" rarity system
- Batch application of changes
Ease of Use
Configuration files are placed in the /config/LootTweaksChanges
folder. To simplify large-scale changes, the mod supports creating "change batches" - sets of settings that can be applied to multiple tables simultaneously. For example, if you need to make 48 identical changes to 7 different tables, you only need to define these changes once in a batch and apply it to all required tables.
Tier System
A feature of the mod is the ability to group items by "tiers" of rarity. This allows setting groups of items with the same appearance rarity, rather than defining each item separately.
Dynamic Reloading
The mod supports dynamic configuration reloading using a special command, allowing changes to be made without restarting the game.
Usage Examples
The project's GitHub repository provides example scripts to familiarize yourself with the mod's capabilities.