mirror of
https://github.com/LegacyModdingMC/ChunkAPI.git
synced 2026-11-15 17:55:03 +00:00
trying random stuff, nothing serious yet
This commit is contained in:
19 files changed
+327
-23
No files matched your search
@@ -0,0 +1,27 @@
|
||||
package com.falsepattern.chunk.internal;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
import cpw.mods.fml.common.Mod;
|
||||
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||
|
||||
@Mod(modid = Tags.MODID,
|
||||
version = Tags.VERSION,
|
||||
name = Tags.MODNAME,
|
||||
acceptedMinecraftVersions = "[1.7.10]",
|
||||
dependencies = "required-after:falsepatternlib@[0.10.15,);")
|
||||
public class ChunkAPI {
|
||||
@Getter
|
||||
private static boolean registrationStage = false;
|
||||
|
||||
@Mod.EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event) {
|
||||
registrationStage = true;
|
||||
}
|
||||
|
||||
@Mod.EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event) {
|
||||
registrationStage = false;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user