Botania

Botania

133M Downloads

loonium drops - curious how table is generated

DoomSquirter opened this issue ยท 4 comments

commented

Botania r1.9-344 on farscapes (br new pack)
mc 1.11.2

made loonium, setup a mob area for them to spawn, to kill by exu2 mech users with swords (not enchanted)

my questions:

  1. I see from other issue that dungeon table is used for drops. is this still the case?

  2. is the list compiled at the time botania loads, for instance, if there are items loaded into that table after botania loads, do they not get pulled in?

  3. does looting on swords to kill mobs have any affect on outcome or does each monster drop the set item each time regardless?

My issue is I'm receiving quark tomes/runes, horse armors, ench books, too many wands wands, nametags, saddles and golden apples. nothing else. dungeon loot table is 2 pages long in jei and there's alot not being picked up by it.

commented

just got around to this again

it's because MC generates the loot pools in order, and only shuffles when placing into a chest. the loonium was just taking the first stack of the unshuffled list, which produces the skew you're seeing. fixed.

commented
  1. Yes, the way it works is basically the same as opening a dungeon chest and taking the first stack out.
  2. The list is compiled by vanilla/forge, so whenever they do it. Mods can listen for an event when the list loads and add their own stuff.
  3. The stack is predetermined when the mob spawns.
commented

so if I looked at JEI's loot drop list for 'dungeon' and compared it to what I'm actually receiving, there's a huge disparity. I haven't used a loonium since the mob spawning mechanism was implemented, but I do know the table used to be more in line with what nei'd show up as dungeon loot table tho.

I ended up filling about 15 actually additions small crates worth of output and I really think I was pretty accurate in what was coming out of that in the issue topic.

Does botania log anything pertaining to what's in that loot table during init? Maybe a one time print during init of what botania finds for the loot table might help debug this issue when/if it happens?

commented

afaik generating whats dropped hasn't changed only the method of delivery changed.