diff options
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuide.java')
-rw-r--r-- | src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuide.java | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuide.java b/src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuide.java index 5330a7fd..81e976b8 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuide.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuide.java @@ -1,6 +1,7 @@ package kr.syeyoung.dungeonsguide; import net.minecraft.init.Blocks; +import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.EventHandler; import net.minecraftforge.fml.common.event.FMLInitializationEvent; @@ -10,11 +11,24 @@ public class DungeonsGuide { public static final String MODID = "skyblock_dungeons_guide"; public static final String VERSION = "0.1"; + + private SkyblockStatus skyblockStatus; + private static DungeonsGuide dungeonsGuide; + @EventHandler public void init(FMLInitializationEvent event) { - System.out.println("DIRT BLOCK >> "+Blocks.dirt.getUnlocalizedName()); + dungeonsGuide = this; + skyblockStatus = new SkyblockStatus(); + MinecraftForge.EVENT_BUS.register(new EventListener()); + } + + public SkyblockStatus getSkyblockStatus() { + return skyblockStatus; + } + public static DungeonsGuide getDungeonsGuide() { + return dungeonsGuide; } } |