#Why is barrel loot table not applying, but chest loot table is?

1 messages · Page 1 of 1 (latest)

sleek topaz
#

I am trying to make some new loot tables, and so far I've just been trying to get them to generate. The chest loot table works fine, and while the /data command shows that my barrels have the correct loot table, it does not work. I've triple checked the file path as well.

I literally just copied the butcher villager chest for both the loot tables, is there something else I have to do to get it to work for barrels? 1.20.1 in case it matters.

grand obsidianBOT
#

<@&1201956957406109788>

Someone will come and help soon!

💬 While you wait, take this time to provide more context and details.

🙇 If nobody has answered you by <t:1746546591:t>, feel free to use the Summon Helpers button to ping our helper team.

✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve

zealous hinge
#

Can you show us your code, and the data values of the barrel / chest?

#

Is there anything in the logs?

sage tiger
#

There's no difference between barrels and chests in this regard, you must be doing something differently between them

sleek topaz
#

They're both identical, just being literally the exact vanilla butchers chest file

#

I used /setblock to get them placed in, the only difference was I think when I setblock the barrels I hadn't yet made the actual file it was pointing to?

#

But it should still be able to find it, right?

sage tiger
#

It should, yes

#

As blackswitch said, you'll need to show us your work

sleek topaz
#

They're the same

sage tiger
#

Show NBT of blocks

sleek topaz
#

Oh oops

#

I just noticed the minecraft namespace

#

my bad

sage tiger
#

Mhm

sleek topaz
#

Do you know how I can give loot tables to decorated pots in 1.20.1?

#

Is it the same as chests and barrels?

#

I can only see an example for 1.21

#

I run this command and it doesn't seem to get encoded with anything

#

Oh it wasn't added until 1.20.3 ...

#

Alright, I'm good. Thanks