I have a structure in my world and i want to add a custom loot table to it's chests. I've tried doing this TileEntityChest chest = (TileEntityChest)world.getTileEntity(key); chest.setLootTable(new ResourceLocation(MW.MODID, "pagoda_chest"), new Random().nextLong()); Where "pagoda_chest" is the json loot table file, located in the loot_tables folder in assets, but as far as i load the structure this error pops out Couldn't load loot table mw:pagoda_chest from file:/C:/Users/Jim