How do I add a loot table to the chests in my structure?

Started by APokeFish on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined Jun 2019
Points:
689

User statistics:

  • Modifications: 1
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 12
How do I add a loot table to the chests in my structure?

Alright, I've scoured the internet. I have no Idea how to add loot tables to the chests in my structures. I don't really understand the "How to create a loot table" wiki page, and the version is too new for youtube to tell me anything. SOMEONE HELP I NEED THIS FOR MY MOD:( thanks

Active 2 years ago
Joined Jun 2019
Points:
689

User statistics:

  • Modifications: 1
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 12
Ok, can someone just tell me…
Mon, 02/10/2020 - 15:32

Ok, can someone just tell me how to do it? Sending me a link to the search results does not help me. I still have no idea how, and, might I add, the top result is this forum. No offense, but still please help.

Active 2 years ago
Joined Jun 2019
Points:
689

User statistics:

  • Modifications: 1
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 12
Nevermind, thanks for trying…
Tue, 02/11/2020 - 02:39

Nevermind, thanks for trying to help, but I think the best option here is to just make a block that gives you drops when you right click it. Thanks anyway

Active 3 years ago
Joined Apr 2018
Points:
744

User statistics:

  • Modifications: 3
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 39
If the chest is a part of a…
Tue, 02/11/2020 - 10:40

If the chest is a part of a structure follow this:

 

With your brand new loot table, you will find 3 input boxes at the top.

The one being Loot table registry name,

Loot table namespace and finally,

Loot table type.

 

So, first set the Loot table type value to Chest.

then set the Loot table registry name to the name of your structure.

 

 

Okay, now that you have done the technical part you can now play around with your loot table!

Active 2 years ago
Joined Jun 2019
Points:
689

User statistics:

  • Modifications: 1
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 12
alright I tried that. It…
Mon, 02/17/2020 - 04:19

alright I tried that. It does not work. Please send screenshot on how to do. Also I'm using 1.12.2 if that makes a difference

Active 3 years ago
Joined Jun 2018
Points:
727

User statistics:

  • Modifications: 4
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 10
you have to use 1.14.4
Wed, 04/15/2020 - 16:43

you have to use 1.14.4

Active 7 months ago
Joined Oct 2018
Points:
716

User statistics:

  • Modifications: 1
  • Forum topics: 5
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 14
How infuriating. Is there no…
Fri, 04/17/2020 - 01:30

How infuriating. Is there no way to do loot table stuff for 1.12.2? at all?

Active 8 months ago
Joined Jun 2019
Points:
2790

User statistics:

  • Modifications: 4
  • Forum topics: 48
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3704
yes cuz 1.12.2 is too old…
Fri, 04/17/2020 - 02:13

yes cuz 1.12.2 is too old and creator will drop support for it in 2020.3

yes cuz 1.12.2 is too old…
Fri, 04/17/2020 - 06:50

yes cuz 1.12.2 is too old and creator will drop support for it in 2020.3

Not just this, there is actual poor loot table support in code too. 1.12.2 was not really data pack ready yet.

Active 5 years ago
Joined Apr 2020
Points:
629

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
MilliMedia I tried doing…
Sat, 04/25/2020 - 21:29

MilliMedia

I tried doing exactly what you said for setting up a custom loot table for chests but it's not working.

My structure name is Travelers House and I have tried travelershouse, travelers_house, chests/travelers_house, and chests/travelershouse

None of these are working for me and I need it for my mod

 

I am on 2020.2 for version 1.14.4

Active 4 days ago
Joined Jun 2021
Points:
632

User statistics:

  • Modifications: 2
  • Forum topics: 9
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 34
Thanks, it helped a lot for…
Mon, 08/23/2021 - 15:27

Thanks, it helped a lot for me