Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » I am modding a minecraft mod 1.16.5
I am modding a minecraft mod 1.16.5 [message #1843711] Sun, 15 August 2021 06:32
XX Sun is currently offline XX SunFriend
Messages: 1
Registered: August 2021
Junior Member
package com.SAO.SAOMod;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;

public class SAOMod {
public static final Logger LOGGER = LogManager.getLogger();
public static final String Mod_ID = "SAOMod";
public SAOMod() {
IEventBus bus = FMLJavaModLoadingContext.get().getModEventBus();
here is my code when I try to run it, it open the minecraft success ,but the window of minecraft soon close and show me a warning message:
Exception in thread "main" [14:05:46] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1069]: at java.base/
Can someone help me please! thx
  • Attachment:
    (Size: 0.58KB, Downloaded 94 times)
Previous Topic:How can fix error from Eclipse WindowBuilder?
Next Topic:Part of Eclipse package
Goto Forum:

Current Time: Wed Feb 01 23:41:46 GMT 2023

Powered by FUDForum. Page generated in 0.04490 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top