Debugging "Unable to fill loot chest" - LootrMinecraft/Lootr GitHub Wiki

The Error Message

  1. When opening a container, you may receive this message on the screen. Whether an alert is sent to the player opening the container depends on the configuration on the server:

In more recent versions of Lootr, this message specifically highlights the error as being with the modid (in the example here, the modid is ctovt), rather than with Lootr.

  1. When opening a container, a message message will be reported in the log file:
[10Sep2024 03:04:02.980] [Server thread/ERROR] [noobanidus.mods.lootr.api.LootrAPI/]: Unable to fill loot chest in minecraft:the_end at BlockPos{x=979, y=49, z=149} as the loot table 'minecraft:chests/end_city_treasure' couldn't be resolved! Please search the loot table in latest.log to see if there are errors in loading.

What is this error?

In the above two examples, there are two separate causes: