Loot table support

Upvotes: 13
Issue description


It was suggested by a YouTuber who doe's Mcreator tutorials to make a request here for loot tables support.

Can you see if it is possible to add loot table support one day, what I was looking for is below, but I thought I would add it for some context for what I wanted.

Cheers,  Another Rogue


using Mcreator, can you create a custom chest that will use a custom/normal loot table when placed? to expand a little further, i would like to place a chest (it would look and act vanilla) that when placed will check a selected loot table and add items from said loot table. if works i would probably add several variants, weapons, armor, food, potions, etc.... this would be for the purpose of adding random chests to adventure maps, but without all the manually adding items to every chest.


Issue comments

Submitted by Klemen on Fri, 12/28/2018 - 10:00

You can manually define loot tables using json and place the json in the proper folder as you would do for normal mods. We will consider adding support for loot tables in MCreator in the future too.

Submitted by WeswePengu on Wed, 01/09/2019 - 03:46

I 2nd...well....3rd this idea. Its a cool idea.

Submitted by Memeseus on Wed, 03/13/2019 - 15:13

I need loot tables desperately

Is there a tutorial anywhere on how to add them manually?


You could use random possibilities on block placement for the blocks inventory.

Submitted by DKMK100 on Sun, 04/07/2019 - 18:32

We definitely need this feature! I agree completely

Klemen, i tried doing this in minecraft folder but was not able too, can you give me a template of what file to add?

Submitted by Klemen on Tue, 04/16/2019 - 19:22

It was just a guess, I did not have a time to properly look in loot tables yet.