Conflict with LootTweaker causes loot tables defined by mod to not generate on SpongeForge servers
Version
7.4.7
Operating System
Windows
Java Version
jre1.8.0_251
Plugins/Mods
None while testing this problem
Describe the bug
Loot tables defined with LootTweaker do not appear in chests on multiplayer servers that have SpongeForge installed. Testing on a normal Forge server results in the mod working correctly.
To Reproduce
Steps to reproduce the behavior:
I've tested this using my modpack, although you can of course test with whichever setup you have. If you want to use the same setup, here is the latest release
- In singleplayer with cheats enabled, use
/setblock ~ ~2 ~ minecraft:chest 1 0 {LootTable:"gdtable:hilund"}and see the loot table populate the spawned chest. One can also find or spawn a WroughtBuilding recurrent complex structure. - Doing such on a multiplayer server with SpongeForge installed results in no items.
Expected behavior
The chests to be filled with loot. The loot tables are generated properly within the server world at /world/data/loot_tables, and CraftTweaker reports no errors from the script, so I cannot understand why they are not called and populating the chests.
Link to logs and relevant scripts
Server latest.log: Check line 3590 https://gist.github.com/zediious/19743d52cb5dec58478536fd1732103e
Server debug log: https://gist.github.com/zediious/dd62f3b0ae22d281fb352c60e7c5a351
Chest Loot Craftweaker Script: https://github.com/zediious/galacticdrive/blob/0.2alpha/overrides/scripts/chestloot.zs
Server Crafttweaker Log: https://gist.github.com/zediious/50df74e839a0d0c901414920de9d1c08
LootTweaker creates tables when net.minecraftforge.fml.common.event.FMLServerStartingEvent is fired.
Perhaps this is too late to work on a SpongeForge server?