mirror of
https://github.com/GTNewHorizons/Postea.git
synced 2026-11-12 00:17:47 +00:00
Add nhlib explicit dep and stop using Tags.MODID/MODNAME (#11)
This commit is contained in:
1 parent
ff224e4b1f
commit
0999b44caf
2 files changed
+12
-4
No files matched your search
+3
-3
@@ -56,13 +56,13 @@ generateGradleTokenClass = com.gtnewhorizons.postea.Tags
|
||||
gradleTokenVersion = VERSION
|
||||
|
||||
# [DEPRECATED] Mod ID replacement token.
|
||||
gradleTokenModId = MODID
|
||||
gradleTokenModId =
|
||||
|
||||
# [DEPRECATED] Mod name replacement token.
|
||||
gradleTokenModName = MODNAME
|
||||
gradleTokenModName =
|
||||
|
||||
# [DEPRECATED] Mod Group replacement token.
|
||||
gradleTokenGroupName = GROUPNAME
|
||||
gradleTokenGroupName =
|
||||
|
||||
# [DEPRECATED]
|
||||
# Multiple source files can be defined here by providing a comma-separated list: Class1.java,Class2.java,Class3.java
|
||||
|
||||
@@ -10,10 +10,18 @@ import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||
import cpw.mods.fml.common.event.FMLServerAboutToStartEvent;
|
||||
import cpw.mods.fml.common.event.FMLServerStoppingEvent;
|
||||
|
||||
@Mod(modid = Tags.MODID, version = Tags.VERSION, name = Tags.MODNAME, acceptedMinecraftVersions = "[1.7.10]")
|
||||
@Mod(
|
||||
modid = Postea.MODID,
|
||||
version = Tags.VERSION,
|
||||
name = Postea.MODNAME,
|
||||
acceptedMinecraftVersions = "[1.7.10]",
|
||||
dependencies = " required-after:gtnhlib@[0.6.21,);")
|
||||
@SuppressWarnings("unused")
|
||||
public class Postea {
|
||||
|
||||
public static final String MODID = "postea";
|
||||
public static final String MODNAME = "Postea";
|
||||
|
||||
@Mod.EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event) {}
|
||||
|
||||
|
||||
Reference in new issue
Block a user