
Add the ability to get spawn eggs in survival from killing mobs using a silk touch tool.
In vanilla Minecraft, spawn eggs are creative-only items. This mod allows you to obtain them in survival.
When a mob is killed by a player using a Silk Touch enchanted item, there's a chance it will drop its vanilla spawn egg. The drop rate depends on the mob type among other factors.
| Category | Mobs | Base Chance | Special Requirements |
|---|---|---|---|
| Common Passive | Cow, Pig, Sheep, Chicken, Rabbit, Cod, Salmon, Tropical Fish | 70% | Baby penalty: -20% |
| Neutral/Hostile | Zombie, Skeleton, Spider, Enderman, Drowned, Stray, Husk, Wolf, Bee | 30% | No spawner/tamed drops |
| Rare/Utility | Slime, Witch, Guardian, Blaze, Ghast, Endermite, Shulker | 10% | Requires Looting II+ |
| Bosses | Ender Dragon, Wither | 0% | Excluded for balance |
Everything is customizable via config/silktouch-spawn-eggs.json:
{
"commonPassiveChance": 0.70,
"neutralHostileChance": 0.30,
"rareUtilityChance": 0.10,
"bossChance": 0.0,
"babyPenalty": -0.20,
"lootingBonusPerLevel": 0.10,
"extraDurabilityCost": 10,
"naturalSpawnOnlyForRare": true,
"noSpawnerDrops": true,
"noTamedDrops": true,
"advancementGating": true,
"variantCorrectEggs": true
}
mods folderconfig/silktouch-spawn-eggs.json