Jump to content

(Solved) Custom Vanilla Loot Tables


Recommended Posts

I have been trying to figure out how to add custom vanilla loot tables to my mod. I found this link https://forums.minecraftforge.net/topic/74709-1144-replace-vanilla-loot-table/ which gives an example of how to replace coal_ore.json to do so. My question is, how do I find out the names of the json files I need to replace? How do I figure out that I need to replace coal_ore.json? What if I want to replace emerald or wheat or something. I can guess, but is there an archive of these so I can know for sure?


Thank you kindly,

Edited by tinytim0
Link to comment
Share on other sites

(A) browse the client-extra.jar assets

(B) its the same as the registry name of the block

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.


Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.


DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

Beautiful, took me a hot minute to find it because I'm on mac. For anyone else struggling with this, the path was 


Macintosh HD/Users/"Username"/.gradle/caches/forge_gradle/minecraft_repo/versions/1.16.3/client-extras.jar


For clarification, I'm modding minecraft version 1.16.3, this path may change a bit in the future depending on future forge updates. Follow whatever path is necessary. The .gradle folder is a hidden folder, press command + shift + dot, all at the same time to show hidden files. Lastly, the client-extras.jar is unable to be opened by the archive utility. I copied it to my desktop, erased the .jar extension and added the .zip extension instead, then I unzipped it with the archive utility. The loot table information I was looking for was in the unzipped file at




To create your custom vanilla loot tables, please refer to the answer at https://forums.minecraftforge.net/topic/74709-1144-replace-vanilla-loot-table/


Happy modding.

Edited by tinytim0
Link to comment
Share on other sites

So it is! I'm still learning Java and Intellij, I'm used to working in Xcode. 


For anyone else that's quite new to this, if you look at the main root folders in the directory on the right hand side, there is your project, and the directory located beneath your project is called External Libraries.  The information can be found in


External Libraries/Gradle: net.minecraft:client:extras:1.16.3


Your IDE can open up the file path client-extras/data/minecraft/loot_tables/blocks from there.


Attached are images showing where it can be found.

Screen Shot 2020-09-30 at 10.01.54 PM.png

Screen Shot 2020-09-30 at 10.02.29 PM.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.