Add items to vanilla chest loot tables without overriding the whole chest

Started by ImPersson on

Topic category: Help with modding (Java Edition)

Last seen on 20:10, 20. Jul 2022
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Add items to vanilla chest loot tables without overriding the whole chest

As the title said, I'm trying to 'add' an item to the end city chest loot tables without overriding the entire thing, because when I made the loot table:

  • chests/end_city_treasure

and added my item to the pool, it made the modded item the only thing that spawns in the end city chests.

Isn't there any way to ADD a modded item into the default vanilla loot table? I really appreciate any help you can provide.

Last seen on 05:05, 30. Oct 2022
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Similar topic came up a few…
Sun, 07/10/2022 - 23:51

Similar topic came up a few days ago, here.

 

In a nutshell, you need to code edit your new loot table to copy/paste in the original loot table data and then add your item in manually.