SleepyTrousers / EnderCore

Library mod used by EnderIO, EnderZoo, and others
Creative Commons Zero v1.0 Universal
50 stars 71 forks source link

Can't get EnderCore 1.12 to run in eclipse dev env #121

Closed okidor closed 3 years ago

okidor commented 3 years ago

Hello,

I tried to import EnderCore (branch 1.12) with the following steps:

Weirdly, there is no "genEclipseRuns" gradle task although there is a "genIntellijRuns" task.

The game begins to load but then crash with the following error: net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from EnderCore (endercore) Caused by: java.lang.IllegalStateException: EnderCorePlugin accessed too early!

full trace: latest.log

Am i doing something wrong with the build steps ?

Please, note that if i try to run EnderCore from the 1.13 branch which has a "genEclipseRuns" task, the game runs properly.

HenryLoenwind commented 3 years ago

I've never run endercore on itself, but you are probably missing the -Dfml.coreMods.load=com.enderio.core.common.transform.EnderCorePlugin argument to load the coremod. (run config>arguments>vm arguments)

okidor commented 3 years ago

That has indeed worked, thank you.