Modular Loot Crates and Bundles

Modular Loot Crates and Bundles

210k Downloads

[BUG] Latest update breaks loot tables?

itsdinkd opened this issue ยท 3 comments

commented

After updating to the latest update released two days ago for 1.17.1, it seems my loot tables are broken, or at least that's what LootCrates believes. I've never seen this before in console until I updated. I'm getting spammed it as players walk around overworld. Its not limited to the mods in the log below, but almost every mod with a loot table.

[21:58:46] [Server thread/ERROR] (lootcrates) [LootCrates] Error while replacing a container with loot table 'repurposed_structures:chests/dungeons/desert' in the world 'ResourceKey[minecraft:dimension / minecraft:overworld]' at 'class_2339{x=516, y=-9, z=2726}' ). The chunk at that pos is not loaded.
[21:58:47] [Server thread/ERROR] (lootcrates) [LootCrates] Error while replacing a container with loot table 'repurposed_structures:chests/dungeons/desert' in the world 'ResourceKey[minecraft:dimension / minecraft:overworld]' at 'class_2339{x=513, y=0, z=2629}' ). The chunk at that pos is not loaded.
[21:58:47] [Server thread/ERROR] (lootcrates) [LootCrates] Error while replacing a container with loot table 'repurposed_structures:chests/dungeons/desert' in the world 'ResourceKey[minecraft:dimension / minecraft:overworld]' at 'class_2339{x=520, y=-5, z=2665}' ). The chunk at that pos is not loaded.
[21:58:48] [Server thread/ERROR] (lootcrates) [LootCrates] Error while replacing a container with loot table 'repurposed_structures:chests/dungeons/dark_forest' in the world 'ResourceKey[minecraft:dimension / minecraft:overworld]' at 'class_2339{x=-3506, y=32, z=1007}' ). The chunk at that pos is not loaded.
[21:58:48] [Server thread/ERROR] (lootcrates) [LootCrates] Error while replacing a container with loot table 'repurposed_structures:chests/dungeons/dark_forest' in the world 'ResourceKey[minecraft:dimension / minecraft:overworld]' at 'class_2339{x=-3506, y=32, z=1007}' ). The chunk at that pos is not loaded.
[21:58:48] [Server thread/ERROR] (lootcrates) [LootCrates] Error while replacing a container with loot table 'repurposed_structures:chests/dungeons/desert' in the world 'ResourceKey[minecraft:dimension / minecraft:overworld]' at 'class_2339{x=517, y=33, z=2702}' ). The chunk at that pos is not loaded.
[21:58:50] [Server thread/ERROR] (lootcrates) [LootCrates] Error while replacing a container with loot table 'minecraft:chests/simple_dungeon' in the world 'ResourceKey[minecraft:dimension / minecraft:overworld]' at 'class_2338{x=-3512, y=-49, z=852}' ). The chunk at that pos is not loaded.
[21:58:50] [Server thread/ERROR] (lootcrates) [LootCrates] Error while replacing a container with loot table 'repurposed_structures:chests/dungeons/dark_forest' in the world 'ResourceKey[minecraft:dimension / minecraft:overworld]' at 'class_2339{x=-3508, y=49, z=932}' ). The chunk at that pos is not loaded.
[21:58:50] [Server thread/ERROR] (lootcrates) [LootCrates] Error while replacing a container with loot table 'minecraft:chests/simple_dungeon' in the world 'ResourceKey[minecraft:dimension / minecraft:overworld]' at 'class_2338{x=-3517, y=-23, z=998}' ). The chunk at that pos is not loaded.
[21:58:50] [Server thread/ERROR] (lootcrates) [LootCrates] Error while replacing a container with loot table 'minecraft:chests/simple_dungeon' in the world 'ResourceKey[minecraft:dimension / minecraft:overworld]' at 'class_2338{x=-3512, y=53, z=947}' ). The chunk at that pos is not loaded.
[21:58:50] [Server thread/ERROR] (lootcrates) [LootCrates] Error while replacing a container with loot table 'minecraft:chests/simple_dungeon' in the world 'ResourceKey[minecraft:dimension / minecraft:overworld]' at 'class_2338{x=-3512, y=53, z=949}' ). The chunk at that pos is not loaded.
[21:58:51] [Server thread/ERROR] (lootcrates) [LootCrates] Error while replacing a container with loot table 'minecraft:chests/simple_dungeon' in the world 'ResourceKey[minecraft:dimension / minecraft:overworld]' at 'class_2338{x=508, y=51, z=2686}' ). The chunk at that pos is not loaded.
[21:58:51] [Server thread/ERROR] (lootcrates) [LootCrates] Error while replacing a container with loot table 'minecraft:chests/simple_dungeon' in the world 'ResourceKey[minecraft:dimension / minecraft:overworld]' at 'class_2338{x=511, y=51, z=2691}' ). The chunk at that pos is not loaded.
[21:58:55] [Server thread/ERROR] (lootcrates) [LootCrates] Error while replacing a container with loot table 'repurposed_structures:chests/dungeons/desert' in the world 'ResourceKey[minecraft:dimension / minecraft:overworld]' at 'class_2339{x=485, y=23, z=2576}' ). The chunk at that pos is not loaded.
[21:58:56] [Server thread/ERROR] (lootcrates) [LootCrates] Error while replacing a container with loot table 'repurposed_structures:chests/dungeons/desert' in the world 'ResourceKey[minecraft:dimension / minecraft:overworld]' at 'class_2339{x=485, y=20, z=2631}' ). The chunk at that pos is not loaded.
commented

Ty for the report. Can you send me a mod list? Are you using Sodium?

commented

https://www.curseforge.com/minecraft/modpacks/another-quality-modpack-2
modlist: https://pastebin.com/qARsYqmr

Yes, i am using sodium. Last version of Lootcrates never showed this, but this new update is vital as it fixed that crash.

commented

now im seeing these errors saying a lootcrates method is null

[23:51:45] [Server thread/ERROR] (lootcrates) [LootCrates] Error while replacing a container with loot table 'minecraft:chests/simple_dungeon' in the world 'ResourceKey[minecraft:dimension / minecraft:overworld]' at 'class_2338{x=-3341, y=-26, z=-167}' ) + Cannot invoke "net.minecraft.class_2248.method_9564()" because the return value of "de.dafuqs.lootcrates.LootCrateAtlas.getLootCrate(de.dafuqs.lootcrates.enums.LootCrateRarity)" is null
[23:51:45] [Server thread/ERROR] (lootcrates) [LootCrates] Error while replacing a container with loot table 'minecraft:chests/abandoned_mineshaft' in the world 'ResourceKey[minecraft:dimension / minecraft:overworld]' at 'class_2338{x=-3358, y=-6, z=-128}' ) + Cannot invoke "net.minecraft.class_2248.method_9564()" because the return value of "de.dafuqs.lootcrates.LootCrateAtlas.getLootBarrel(de.dafuqs.lootcrates.enums.LootCrateRarity)" is null
[23:51:45] [Server thread/ERROR] (lootcrates) [LootCrates] Error while replacing a container with loot table 'minecraft:chests/simple_dungeon' in the world 'ResourceKey[minecraft:dimension / minecraft:overworld]' at 'class_2338{x=-3329, y=35, z=-143}' ) + Cannot invoke "net.minecraft.class_2248.method_9564()" because the return value of "de.dafuqs.lootcrates.LootCrateAtlas.getLootCrate(de.dafuqs.lootcrates.enums.LootCrateRarity)" is null
[23:51:45] [Server thread/ERROR] (lootcrates) [LootCrates] Error while replacing a container with loot table 'minecraft:chests/simple_dungeon' in the world 'ResourceKey[minecraft:dimension / minecraft:overworld]' at 'class_2338{x=-3329, y=35, z=-143}' ) + Cannot invoke "net.minecraft.class_2248.method_9564()" because the return value of "de.dafuqs.lootcrates.LootCrateAtlas.getLootCrate(de.dafuqs.lootcrates.enums.LootCrateRarity)" is null```