resent-1.8/src/main/java/dev/resent/Resent.java
2023-01-01 10:42:36 -07:00

33 lines
717 B
Java

package dev.resent;
import dev.resent.event.impl.Event;
import dev.resent.module.base.ModManager;
import net.kyori.event.EventBus;
import net.minecraft.client.Minecraft;
public class Resent {
public static String NAME = "Resent";
public static double VERSION = 3.3;
public static Minecraft mc = Minecraft.getMinecraft();
public static EventBus<Event> eventBus;
public static Resent INSTANCE;
static {
INSTANCE = new Resent();
eventBus = EventBus.create(Event.class);
}
public ModManager modManager;
public void init() {
Resent.INSTANCE.modManager = new ModManager();
}
public EventBus<Event> events() {
return eventBus;
}
}