Posted February 7, 20205 yr Does the src/generated folder need to be included in a git repo? I am asking specifically about the src/generated/resources/.cache folder, it is not in the mdk and was generated upon first launching the client of an empty environment. Edited February 7, 20205 yr by Busti PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.
February 8, 20205 yr src/generated/resources and any generated models, loot tables, recipes, etc. (see GatherDataEvent, DataGenerator and the implementations of IDataProvider) inside of that directory should be included in your repository, but the .cache directory should be ignored. If you look at Forge's repository, you'll see that it ignores the .cache directory while including everything else in src/generated/resources. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
February 8, 20205 yr Author Thank you, @Choonster I was wondering, because the file was not in the .gitignore file that was included in the mdk zip since files like that sometimes do belong in git, i.e. package-lock.json in node-js and so on. Maybe it should be excluded by default, but I do not know where the mdk files are built, otherwise I would submit a PR. Edited February 8, 20205 yr by Busti PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.
February 10, 20205 yr On 2/9/2020 at 6:36 AM, Busti said: but I do not know where the mdk files are built, otherwise I would submit a PR. https://github.com/MinecraftForge/MinecraftForge/tree/1.15.x/mdk About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.github.io/tutorials Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support. When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible. Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)
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.