
Warden Loot
A modification for Minecraft 1.20.1 on the Fabric platform that adds the dropping of random epic or rare items when Wardens are killed.
IMPORTANT: Further mod updates are not planned
Main Features
- Automatic loot drops: After defeating a Warden, it leaves one random epic or rare quality item
- Flexible configuration: All parameters can be changed through a JSON configuration file
- Performance optimization: Items are cached at startup for maximum performance
- Server compatibility: Works in both single-player and multiplayer servers
Configuration Settings
The mod creates a configuration file at config/warden-loot.json
with the following parameters:
{
"excludedItems": [
"minecraft:dragon_egg",
"minecraft:command_block",
"minecraft:chain_command_block",
"minecraft:repeating_command_block",
"minecraft:structure_block",
"minecraft:jigsaw",
"minecraft:barrier",
"minecraft:light",
"minecraft:debug_stick",
"minecraft:knowledge_book",
"minecraft:structure_void",
"minecraft:minecart_with_command_block",
"minecraft:minecart_with_repeating_command_block",
"minecraft:minecart_with_chain_command_block"
],
"enableDrops": true,
"dropChance": 100,
"logDrops": false
}
Configuration Parameters
excludedItems
: List of item IDs excluded from drops (format:"minecraft:item_name"
)enableDrops
: Enable or disable item drops (true
/false
)dropChance
: Drop chance percentage (0-100, where 100 = always drops)logDrops
: Record information about dropped items in the console (true
/false
)
Adding and Removing Items from Exclusions
To exclude additional items, add them to the excludedItems
list:
"excludedItems": [
"minecraft:dragon_egg",
"minecraft:netherite_sword"
]
To allow previously excluded items to drop, simply remove them from the list.
Examples of Droppable Items
Epic Items (purple rarity):
- Enchanted golden apples
Rare Items (yellow rarity):
- Golden apples
- Music discs
Excluded by default:
- Dragon egg
- Command blocks
- Structure blocks
- Creative-only items
Dependencies
- Fabric API (required)
License
The mod is distributed under the CC0-1.0 license