Jump to content

/assets/[mod]/recipes copied directly into jar without being processed; no recipes are loaded


apophaniac

Recommended Posts

Latest log, with no errors reported: https://pastebin.com/raw/DqJjqVZ0. Forge 1.11.2-13.20.1.2386, ForgeGradle 2.2.

 

I'm baffled. Everything appears to work perfectly, and the mod loads fine, but none of the custom .json recipes I put in the /src/main/resources/assets/vampirism-nightmare/recipes folder exist. All my other assets are loaded fine. I compared my jar to jars of other mods that use the assets recipes system, and I noticed that none of them actually have a recipes folder inside their assets. It seems like Forge is processing the folder somehow and adding it directly to the binary? Uniquely in my case, the recipes folder is right there in the jar next to my lang, textures, etc. So whatever Forge is supposed to be doing to process the recipes folder, it's not doing it.

 

I'm using IntelliJ and gradle build, if that's helpful. The weirdest part is that the recipes were loading in my in-workspace development environment until a few days ago. I didn't build a jar when they were working, so I don't know if it would have loaded the recipes then. I did try clearing my gradle cache. I renamed and restructured folder hierarchies in just about every way possible, to no effect. I made a test json recipe with no custom objects and no metadata (shapeless 1 bread to 1 wheat: suck it, entropy) - didn't work. I even made an entirely new project and copied in my /src folder, in case my IDE had screwed something up. Recipes still didn't load.

 

I am stumped. Any help would be extremely appreciated.

 

Contents of the .jar:

Contents of jar.png

Edited by apophaniac
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.

Guest
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.

Announcements



×
×
  • Create New...

Important Information

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