Posted September 29, 20205 yr 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 September 30, 20205 yr by tinytim0
September 30, 20205 yr (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.
September 30, 20205 yr Author 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 client-extras/data/minecraft/loot_tables/blocks 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 September 30, 20205 yr by tinytim0
October 1, 20205 yr Author 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.
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.