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?