Grimoire of Gaia

Grimoire of Gaia

4M Downloads

Loot tables not initialized at world load

Luke616 opened this issue ยท 2 comments

commented

General Info

  • I am running a modpack
  • I can reproduce this issue consistently
    • In single player
    • In multiplayer
  • I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I'm having the same problem.
  • I am crashing and can provide my crash report(s)
  • I am using the latest version of the mod

Client Info

  • Minecraft Version: 1.12.2
  • Forge Version: 14.23.5.2815
  • Mod Version: 1.6.9.1
  • Java Version: 1.8.0.161

Issue Description

Loot tables are not initialized at world load, and require one of the mod's tables to be called before they are all recognized by minecraft. The result of this is that trying to use Crafttweaker/LootTableTweaker scripts to edit mob loot tables will throw an error on world load because it cannot find the tables yet.

Reproduce Steps

1- Install Grimoire of Gaia, Crafttweaker
2- Load a new world, then do "/ct loottables all" to dump all loot tables currently recognized by minecraft
3- Verify that no GOG loot tables have been dumped
4- Kill a GOG mob or use a GOG loot item
5- Repeat the dump command, and verify that the GOG loot tables have now been dumped

Additional Information

Please let me know if you need any additional details! Thank you!

commented

All Grimoire Of Gaia loot tables are currently empty.

commented

I think this might be due to the LootTables not being initiated during loading.
I looked into it and nothing seems to call it during the loading process and only the entities and loot items are the only things that make reference to it.