Mob Drops Configuration
SmartSpawner allows you to customize mob drops and experience through the mob_drops.yml
file. Control what items spawners generate, drop rates, quantities, and special properties.
Configuration Format
Section titled “Configuration Format”MOB_NAME: experience: <number> loot: ITEM_ID: amount: <min>-<max> chance: <percentage> # Optional properties durability: <min>-<max> potion_effect: type: <POTION_TYPE> extended: <true/false> upgraded: <true/false>
Core Properties
Section titled “Core Properties”Property | Format | Description |
---|---|---|
experience | 5 | XP generated per spawner trigger |
amount | 1-3 | Quantity range of items generated |
chance | 50.0 | Drop probability (0.0-100.0) |
durability | 1-384 | Durability range for tools/weapons |
potion_effect | Object | For potions and tipped arrows |
Potion Effects
Section titled “Potion Effects”potion_effect: type: POISON # Effect type extended: false # Longer duration upgraded: true # Higher potency
Note: Only one of
extended
orupgraded
can betrue
.
Examples
Section titled “Examples”Basic Mob
Section titled “Basic Mob”ZOMBIE: experience: 5 loot: ROTTEN_FLESH: amount: 0-2 chance: 100.0 IRON_INGOT: amount: 1-1 chance: 0.83 CARROT: amount: 1-1 chance: 0.83 POTATO: amount: 1-1 chance: 0.83
Mob with Weapons
Section titled “Mob with Weapons”SKELETON: experience: 5 loot: BONE: amount: 0-2 chance: 100.0 ARROW: amount: 0-2 chance: 100.0 BOW: amount: 1-1 chance: 8.5 durability: 1-384
Mob with Tipped Arrows
Section titled “Mob with Tipped Arrows”STRAY: experience: 5 loot: BONE: amount: 0-2 chance: 100.0 ARROW: amount: 0-2 chance: 100.0 BOW: amount: 1-1 chance: 8.5 durability: 1-384 TIPPED_ARROW: amount: 0-2 chance: 50.0 potion_type: SLOWNESS
Supported Types
Section titled “Supported Types”Common Entities
Section titled “Common Entities”Hostile: ZOMBIE
, SKELETON
, CREEPER
, SPIDER
, ENDERMAN
, BLAZE
, WITCH
Passive: COW
, PIG
, CHICKEN
, SHEEP
, VILLAGER
Boss: ENDER_DRAGON
, WITHER
, WARDEN
Full List: Paper Entity Documentation
Common Materials
Section titled “Common Materials”Items: IRON_INGOT
, GOLD_INGOT
, DIAMOND
, EMERALD
, STRING
, BONE
Food: BEEF
, PORK
, CHICKEN
, BREAD
, CARROT
, POTATO
Weapons: DIAMOND_SWORD
, BOW
, CROSSBOW
, TRIDENT
Full List: Paper Material Documentation
Potion Effects
Section titled “Potion Effects”HEALING
, HARMING
, POISON
, REGENERATION
, STRENGTH
, WEAKNESS
, SWIFTNESS
, SLOWNESS
, FIRE_RESISTANCE
, INVISIBILITY
Full List: Paper PotionType Documentation
Configuration Guide
Section titled “Configuration Guide”Validation Rules
Section titled “Validation Rules”- Experience must be non-negative number
- Amount format:
min-max
where min ≤ max - Chance between 0.0-100.0
- Valid entity and material names only
- Potion effects: only one enhancement per effect
No Drops Configuration
Section titled “No Drops Configuration”BAT: experience: 0 # No loot section = no drops
Default Configuration
Section titled “Default Configuration”SmartSpawner includes comprehensive defaults based on Minecraft Wiki data.
- View Online: GitHub Repository
- Auto-Regenerate: Delete
mob_drops.yml
and restart server