So I decided to get back into modding and to start simple, I went and made a recipe for a vanilla item that doesn't have one. That's literally all this mod is designed to do. However, the game crashes while starting up with only my mod and JEI installed. First, the error:
[20:24:28] [Client thread/ERROR]: Caught exception from Nae's Small Mods: Elytra (nsmelytra)
java.lang.NoSuchFieldError: ELYTRA
at darkehart.nsmelytra.CommonProxy.init(CommonProxy.java:20) ~[CommonProxy.class:?]
Naturally, I am *quite* confused, and moreover, a quick look around GitHub shows several other mods that reference this item in this exact way so I have completely run out of ideas.
Are you running Minecraft from the development environment or a regular launcher?
You need to build your mod with the build Gradle task before running it outside of the development environment. The build task compiles your mod and then reobfuscates it from MCP names (e.g. ELYTRA or onBlockActivated) to SRG names (e.g. field_0001_a or func_0021_b), which are the names used by Minecraft outside of the development environment.
Chisel Facades: For all your decorative pipe-hiding needs.
Please don't PM me to ask for help or to join your mod development team. Asking your question in a public thread preserves it for people who are having the same problem in the future. I'm not interested in developing mods with people.
So I decided to get back into modding and to start simple, I went and made a recipe for a vanilla item that doesn't have one. That's literally all this mod is designed to do. However, the game crashes while starting up with only my mod and JEI installed. First, the error:
And the offending line:
Naturally, I am *quite* confused, and moreover, a quick look around GitHub shows several other mods that reference this item in this exact way so I have completely run out of ideas.
Are you running Minecraft from the development environment or a regular launcher?
You need to build your mod with the build Gradle task before running it outside of the development environment. The build task compiles your mod and then reobfuscates it from MCP names (e.g. ELYTRA or onBlockActivated) to SRG names (e.g. field_0001_a or func_0021_b), which are the names used by Minecraft outside of the development environment.
Chisel Facades: For all your decorative pipe-hiding needs.
Please don't PM me to ask for help or to join your mod development team. Asking your question in a public thread preserves it for people who are having the same problem in the future. I'm not interested in developing mods with people.
I built it, but now that you say that, I wonder if something went wrong with my build environment. That possibility escaped me for some reason.^.^;