Hey MCreator Devs,
I once worked on my mod again in Mcreator Version 1.9.1. Everything worked so far. I was able to test the mod in a text client and server. But once I exported the mod and gave it to a friend of mine to put it on a server the server console said: requires minecraft_link .
What I did is I have sent him the minecraft link mod that is downloadable from the MCreator Webite. It still didn't work. So I deleted the minecraft_link file from the lib folder. Still the same error. I put the file back in the lib folder and tested it with the test client again. Every recipe had errors + gradle seem to have prblem (error code not available at the Moment anymore). I now tried to reinstall MCreator 1.9.1 + delete the workspace + regenerate ever folder. I then reimported a few folders from my backup workspace (textures, sounds, elements, models, src, structures). But now if I want to start the test client in MCreator the console still says "requires minecraft_link" even if the minecraft_link file is in the lib folder. What should I do + where do my friend need to import the minecraft_link file on the server?
Error in console:
13:59.24 [main/FATAL] [FML]: net.minecraftforge.fml.common.MissingModsException: Mod healcraft (Healcraft) requires [minecraft_link]
13:59.24 [main/ERROR] [FML]: An exception was thrown, the game will display an error screen and halt.
net.minecraftforge.fml.common.MissingModsException: Mod healcraft (Healcraft) requires [minecraft_link]
at net.minecraftforge.fml.common.Loader.sortModList(Loader.java:264 ) ~[Loader.class:?]
at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:570 ) ~[Loader.class:?]
at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:232 ) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.init(Minecraft.java:513 ) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:421 ) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:118 ) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_222]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62 ) ~[?:1.8.0_222]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43 ) ~[?:1.8.0_222]
at java.lang.reflect.Method.invoke(Method.java:498 ) ~[?:1.8.0_222]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135 ) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28 ) [launchwrapper-1.12.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_222]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62 ) ~[?:1.8.0_222]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43 ) ~[?:1.8.0_222]
at java.lang.reflect.Method.invoke(Method.java:498 ) ~[?:1.8.0_222]
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97 ) [start/:?]
at GradleStart.main(
.GradleStart:25">GradleStart.java:25 ) [start/:?]
Issue comments
Sometimes the console says I need minecraft_link and sometimes does not show it, but this happens:
18:37.29 [main/ERROR] [FML]: Parsing error loading recipe healcraft:testyrecipe
com.google.gson.JsonSyntaxException: Unknown item 'healcraft:testblock'
at net.minecraftforge.common.crafting.CraftingHelper.getItemStack(CraftingHelper.java:212 ) ~[CraftingHelper.class:?]
at net.minecraftforge.common.crafting.CraftingHelper.lambda$init$14(CraftingHelper.java:516 ) ~[CraftingHelper.class:?]
at net.minecraftforge.common.crafting.CraftingHelper.getRecipe(CraftingHelper.java:409 ) ~[CraftingHelper.class:?]
at net.minecraftforge.common.crafting.CraftingHelper.lambda$loadRecipes$22(CraftingHelper.java:711 ) ~[CraftingHelper.class:?]
at net.minecraftforge.common.crafting.CraftingHelper.findFiles(CraftingHelper.java:822 ) ~[CraftingHelper.class:?]
at net.minecraftforge.common.crafting.CraftingHelper.loadRecipes(CraftingHelper.java:668 ) ~[CraftingHelper.class:?]
at java.util.ArrayList.forEach(ArrayList.java:1257 ) [?:1.8.0_222]
at net.minecraftforge.common.crafting.CraftingHelper.loadRecipes(CraftingHelper.java:620 ) [CraftingHelper.class:?]
at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:742 ) [Loader.class:?]
at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:336 ) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.init(Minecraft.java:581 ) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:421 ) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:118 ) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_222]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62 ) ~[?:1.8.0_222]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43 ) ~[?:1.8.0_222]
at java.lang.reflect.Method.invoke(Method.java:498 ) ~[?:1.8.0_222]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135 ) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28 ) [launchwrapper-1.12.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_222]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62 ) ~[?:1.8.0_222]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43 ) ~[?:1.8.0_222]
at java.lang.reflect.Method.invoke(Method.java:498 ) ~[?:1.8.0_222]
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97 ) [start/:?]
at GradleStart.main(
.GradleStart:25">GradleStart.java:25 ) [start/:?]
(4 of my recipes have this problem, but not the rest). The second error only appears when I want to start the test client
The zip should be attached to this post now if not:
https://www.dropbox.com/s/6a0l2gorv2xr1ke/Healcraft_1.1.0_1.12.2.zip?dl…
The link issue was resolved in my case by doing Build & run -> Regenerate code and build
For the recipes, the issue is that the items/blocks you refer to them in recipes have code locked so the 1.9.1 patch could not be applied to them. Unlock them, resave them so the code gets updated and then lock them back and do your modifications again.
I fixed every recipe-error. I also regenerated the code and build, that means that there are currently no "requires-errors". testblock recipe wasn't shown in the MCreator. I needed to delete it in the workspace myself.
I will give it to my friend who set up the server. I didn't use any Minecraft Link related procedures or anything else (Box is also unchecked).
Is this the right Minecraft Link mod:
https://mcreator.net/link
Do you even need minecraft link in the first place? If not, disable it in the workspace settings.
For servers, install Minecraft Link as any other mod, but as I said if you are not using Arduino or Raspberry Pi, there is no need to have link enabled.