1

Loot tables

Saniritvikk 6/4/22 10:06 pm history
103
6/6/2022 1:33 pm
I have a couple questions on loot tables:



1. Do loot tables change the default loot tables?

2. Can you edit structure loot tables and how?

3. If I edit an entity loot table does it reset the original one? Example: Creepers drop gunpowder but with my loot table do they always drop diamonds or something?
Posted by
Saniritvikk
Level 15 : Journeyman Miner
0

  Have something to say?

JoinSign in

4

HoboMaggot
06/05/2022 5:31 am
Level 55 : Grandmaster Blob
  1. You can make them change the default loot tables by putting it in the `minecraft` subfolder of your datapack (The minecraft subfolder is where you put your load and tick tag json files)
  2. If you mean this by the chests in structures (e.g. dungeon/bastion chests), you can edit them by simply placing an edited loot table in `minecraft\<loottable sub_directory>`
  3. If you place your loot table in the same directory as the vanilla loot table (in the datapack), yes it will replace. Otherwise it won't as it isn't referenced by the game until you set it so via the `DeathLootTable` nbt
If you want me to elaborate on something, do ask.

This is a good site to view where the vanilla loot tables are
https://mcasset.cloud/1.18.2/data/minecraft/loot_tables
1
Saniritvikk
06/05/2022 5:25 pm
Level 15 : Journeyman Miner
Thank you so much for this! Is there any video that could help as well? Thank you for your help!
1
HoboMaggot
06/06/2022 3:34 am
Level 55 : Grandmaster Blob
https://www.youtube.com/watch?v=tNQhk9b3TYE


Cloud Wolf is pretty much one of the pioneers in minecraft commandblocking/datapacking
1
Saniritvikk
06/06/2022 1:33 pm
Level 15 : Journeyman Miner
Thank you!!
1

Welcome