diff options
author | syeyoung <42869671+cyoung06@users.noreply.github.com> | 2020-11-21 22:59:02 +0900 |
---|---|---|
committer | syeyoung <42869671+cyoung06@users.noreply.github.com> | 2020-11-21 22:59:02 +0900 |
commit | 643ca3e4c149fa91be782ef36391f3492d404d3b (patch) | |
tree | c771945c907c617ead532b37e3cc73495a35c638 /src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuide.java | |
parent | c88e76e90431cf9b242a6831429092b576fdc0c1 (diff) | |
download | Skyblock-Dungeons-Guide-643ca3e4c149fa91be782ef36391f3492d404d3b.tar.gz Skyblock-Dungeons-Guide-643ca3e4c149fa91be782ef36391f3492d404d3b.tar.bz2 Skyblock-Dungeons-Guide-643ca3e4c149fa91be782ef36391f3492d404d3b.zip |
Methods for Identifying Skyblock Status
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; } } |