Ok, the github repo is here: https://github.com/SimplyCmd/Terracraft
Also, the only log is right here:
> Task :compileJava
C:\Blablabla\src\main\java\io\github\simplycmd\terracraft\ModEventSubscriber.java:13: error: code too large
public static void onRegisterItems(RegistryEvent.Register<Item> event) { // Tells Forge that you want this method to be called when it is time for your mod to register its items.
^
1 error
> Task :compileJava FAILED
I used Google Sheets to pull the item names from the wiki, replace the spaces with underscores, and convert all letters to lowercase. Then I used Sheets to add the register item thing around each one and pasted it into IntelliJ
I am making a mod that adds Terraria into Minecraft. To start, I registered all 3991 items into the game. However, when I try and run the game, the build fails with this error:
C:Myfilesandstuff\ModEventSubscriber.java:13: error: code too large
public static void onRegisterItems(RegistryEvent.Register<Item> event) {
Any idea for a workaround?
Whenever I try to run the client in Eclipse, the Minecraft tab opens for a split second before closing. I am fairly new to Forge, so I have no experience in locating and eliminating the errors.
Crash report