Categories
Ask Games Video & Online Games

Multiple loot tables in one datapack

So I have a slight issue with loot tables, I created three separate tables and whenever I go in and give myself the chest variant of the loot table it seems to sometimes not work on the others. So for the first one I am calling it “Tier 1” and giving it to myself using the command

/give @s chest{BlockEntityTag:{LootTable:”random:blocks/tier1″},display:{Name:'{“text”:”Tier 1″,”italic”:false,”color”:”gold”}’}} 1

The name shouldn’t matter but when I change this to tier2 it doesn’t work although they are both located in the same place. How do I fix this?

Loot table 1: https://pastebin.com/tfPScrE2
Loot table 2: https://pastebin.com/Js29saWE
Loot table 3: https://pastebin.com/WcaXqmeP

All three are located inside a folder named “blocks” in my random folder in the datapack, its also under the corresponding loot_tables folder. As that was needed to create the custom loot tables. These are just Proof of concept and will be changed but they don’t all work at the same time when I run the command.

Leave a Reply

Your email address will not be published. Required fields are marked *