Following a modding tutorial series I added REI compatability. The compatability works just fine when launching the client. However, now when I attempt to run the datagen configuration it crashes due to REI. Attached is the log file. The series I'm following mentioned no changes required to get this to work, and I haven't found any solutions online or in this discord.
#Datagen Crashing after REI Compatability Added
9 messages · Page 1 of 1 (latest)
Rerached side issue when loading REI plugin by Roughly Enough Items. Please use "rei_server", "rei_client" or "rei_common" instead.
I don't think you understand the problem I'm having, and that reference documentation that I've looked at 10x isn't helping. The REI compatability works if I start the client, but is interfering when I run datagen, which I don't understand why REI is even trying to be loaded when all datagen should be doing is creating some json files.
I have a class that implements REIClientPlugin:
public class TutorialModREIClientPlugin implements REIClientPlugin { ... }
And have it defined as the entry point:
"rei_client": ["com.atrops.tutorialmod.compat.TutorialModREIClientPlugin"]
When I run the Minecraft Client Configuration, the game starts up and REI works as intended. When I run the Data Generation Configuration, I get the above error.
I tried to createa class that implemented REIServerPlugin and added it's corresponding entry point, I saw a log entry about it, but the same error occured.
If I changed the defined entry point from rei_client to rei_common, the minecraft client still works, but same issue with the data gen.
The problem isn't "solved", but I just removed all REI entry points, and commented out the REI depedencies and code to get the datagen to work. It works for now, but I'd like to find a solution to this for the future.
fyi this is not a datagen issue, it's a server issue. There is an issue open on this in REI's github