Loot table support

Not applicable
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.


Attachment Size
loottables.PNG43.87 KB 43.87 KB

Issue comments

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.

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.

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

We do plan to add this in the first update after 2019.5 which is feature complete so I don't think there will even be need for this.

This feature will be added in 2020.1:

Loot tables maker

We will be extending support for more features (enhancements, custom names, functions, ...) with updates.

But how about custom modded inventorys?

We will add an option to define the loot table to use for inventory in the future updates.

Yes, you can control all vanilla loot and loot of modded blocks, entities, advancements, ...

Overriding of existing loot tables does not work properly yet and not sure if it will, but custom loot tables do work.

1.12.2 was marked as a legacy by Forge Developers and we adopted their schedule last month so we are marking 1.12.2 as legacy (means only critical fixes) too and working on 1.14.4 as the main version after we fix some issues it currently has.

We will try to backport them to 1.12.2 too where possible, this is not one of such cases, at least not with more effort than making sense.

There are already quite some features that are 1.14.4 exclusive due to 1.12.2 not even having mechanics for them. Update to 1.14.4 and you will be fine.

If 1.14.4 is considered the main version now then I think my next mod will be made directly for 1.14.4

That would be a good idea Raol as Forge developers themselves are dropping all the support for 1.12.2.

You can assign these loot tables to any vanilla or modded block, chest, container block, entity, fishing loot, entity, you name it. Just use the proper namespace and registry name and it will override loot tables.

You can try it out by downloading the snapshot: https://mcreator.net/download/snapshots

I can't make a loot table for a custom mob, i choose entities/<name_mob> and after mod and then entities but it doesn't work... do i need to had a procedure?



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.