Minecraft 1.10 DeathLootTable?
Solution 1:
The default loot tables are located in assets\minecraft\loot_tables
within your Minecraft jar. Find the one you want to alter (e.g: entities\creeper.json
) then copy it to data\loot_tables\minecraft\...
(create the folders if they don't exist) in your world folder:
The first folder after data\loot_tables
is called a "namespace" and loot tables must all be within one (you cannot place a loot table directly into data\loot_tables
). In this case I'm using the minecraft
namespace to overwrite the creeper's loot table.
If you don't want to overwrite the default drops for all of a certain type of mob, but instead want to summon specific mods with this new loot table, you should place the loot tables into another namespace, such as realordsloottables
.
If you open up the loot table, it should look something like this:
If you want to edit these manually, I'd recommend looking at some of the default ones for examples, and reading this wiki page. There's a lot of things you can do and it's all already documented there.
To manually add a new item, you could copy paste the item already in this pool, and change its name. Here, I've given the creeper a possibility to drop between 16 and 32 stone:
I'd recommend using a generator to simplify the process, then copy and pasting the output into the loot table:
- Minecraft.Tools's generator has an easy interface, but doesn't allow for all of the features loot tables offer (see Skylinerw's post)
- MrPingouin's generator is feature-complete and up to date
After changing and saving the loot table, the mob's drops should now be changed. If you saved it in a custom namespace because you want it to only affect certain mobs, then you should summon the mobs like this:
/summon Zombie ~ ~ ~ {DeathLootTable:"namespacename:folder/loottablename"}