Evil wizard drop table
binh3012 opened this issue ยท 4 comments
Minecraft version: 1.12.2
Wizardry version: 4.2.10
Environment: Singleplayer
Issue details: I'm using mob farm from Tiny Mob Farm mod to farm Evil Wizard but it seem to be drop only wrong spell book (Empty Slot).
Other mods involved: Tiny Mob Farm https://www.curseforge.com/minecraft/mc-mods/tiny-mob-farm
Link to crash report (if applicable): Don't crash.
The book is assigned a spell using the wizard_spell
loot function. It may be that this function isn't being triggered, however, it's more likely that the wizard never had any spells in the first place, which might happen if it was spawned artifically. How does tiny mob farm work in this respect? Does it kill existing mobs, or create new ones?
Hello.
In Tiny Mob Farm, loots are generated directly from loot table obtained from EntityLiving#getLootTable
, and obtained from LootTable#generateLootForPools
.
This is done with an instance of EntityLiving
that was previously in the world (and killed after the player attempt to sample it). The loot generation does not involve any killing, but is done by generating loot from the EntityLiving
's loot table pool.