mirror of
https://github.com/GTNewHorizons/EnderCore.git
synced 2026-10-26 14:24:32 +00:00
Fix package name for NEI optional annotation (#20)
This commit is contained in:
1 parent
ec2e86148a
commit
18faea6252
4 files changed
+15
-24
No files matched your search
+10
-1
@@ -1,6 +1,7 @@
|
||||
.gradle
|
||||
.settings
|
||||
/.idea/
|
||||
/.vscode/
|
||||
/run/
|
||||
/build/
|
||||
/eclipse/
|
||||
@@ -25,5 +26,13 @@ whitelist.json
|
||||
*.iml
|
||||
*.ipr
|
||||
*.iws
|
||||
src/main/resources/mixins.*.json
|
||||
src/main/resources/mixins.*([!.]).json
|
||||
*.bat
|
||||
*.DS_Store
|
||||
!gradlew.bat
|
||||
.factorypath
|
||||
addon.local.gradle
|
||||
addon.local.gradle.kts
|
||||
addon.late.local.gradle
|
||||
addon.late.local.gradle.kts
|
||||
layout.json
|
||||
+2
-19
@@ -50,27 +50,10 @@ enableGenericInjection = false
|
||||
# Generate a class with a String field for the mod version named as defined below.
|
||||
# If generateGradleTokenClass is empty or not missing, no such class will be generated.
|
||||
# If gradleTokenVersion is empty or missing, the field will not be present in the class.
|
||||
generateGradleTokenClass =
|
||||
generateGradleTokenClass = com.enderio.core.EnderCoreTags
|
||||
|
||||
# Name of the token containing the project's current version to generate/replace.
|
||||
gradleTokenVersion = GRADLETOKEN_VERSION
|
||||
|
||||
# [DEPRECATED] Mod ID replacement token.
|
||||
gradleTokenModId =
|
||||
|
||||
# [DEPRECATED] Mod name replacement token.
|
||||
gradleTokenModName =
|
||||
|
||||
# [DEPRECATED] Mod Group replacement token.
|
||||
gradleTokenGroupName =
|
||||
|
||||
# [DEPRECATED]
|
||||
# Multiple source files can be defined here by providing a comma-separated list: Class1.java,Class2.java,Class3.java
|
||||
# public static final String VERSION = "GRADLETOKEN_VERSION";
|
||||
# The string's content will be replaced with your mod's version when compiled. You should use this to specify your mod's
|
||||
# version in @Mod([...], version = VERSION, [...]).
|
||||
# Leave these properties empty to skip individual token replacements.
|
||||
replaceGradleTokenInFile = EnderCore.java
|
||||
gradleTokenVersion = VERSION
|
||||
|
||||
# In case your mod provides an API for other mods to implement you may declare its package here. Otherwise, you can
|
||||
# leave this property empty.
|
||||
|
||||
@@ -45,7 +45,7 @@ import cpw.mods.fml.common.event.FMLServerStartingEvent;
|
||||
@Mod(
|
||||
modid = EnderCore.MODID,
|
||||
name = EnderCore.NAME,
|
||||
version = EnderCore.VERSION,
|
||||
version = EnderCoreTags.VERSION,
|
||||
dependencies = "after:ttCore; after:gtnhlib@[0.0.10,)",
|
||||
guiFactory = "com.enderio.core.common.config.BaseConfigFactory")
|
||||
public class EnderCore implements IEnderMod {
|
||||
@@ -53,7 +53,6 @@ public class EnderCore implements IEnderMod {
|
||||
public static final String MODID = "endercore";
|
||||
public static final String NAME = "EnderCore";
|
||||
public static final String BASE_PACKAGE = "com.enderio";
|
||||
public static final String VERSION = "GRADLETOKEN_VERSION";
|
||||
|
||||
public static final Logger logger = LogManager.getLogger(NAME);
|
||||
public static final Lang lang = new Lang(MODID);
|
||||
@@ -155,6 +154,6 @@ public class EnderCore implements IEnderMod {
|
||||
|
||||
@Override
|
||||
public String version() {
|
||||
return VERSION;
|
||||
return EnderCoreTags.VERSION;
|
||||
}
|
||||
}
|
||||
@@ -40,7 +40,7 @@ import cpw.mods.fml.common.Loader;
|
||||
import cpw.mods.fml.common.Optional;
|
||||
|
||||
@Optional.InterfaceList({ @Optional.Interface(iface = "codechicken.nei.api.INEIGuiHandler", modid = "NotEnoughItems"),
|
||||
@Optional.Interface(iface = "codechicken.nei.api.guihook.IContainerObjectHandler", modid = "NotEnoughItems") })
|
||||
@Optional.Interface(iface = "codechicken.nei.guihook.IContainerObjectHandler", modid = "NotEnoughItems") })
|
||||
public abstract class GuiContainerBase extends GuiContainer
|
||||
implements ToolTipRenderer, IGuiScreen, INEIGuiHandler, IContainerObjectHandler {
|
||||
|
||||
|
||||
Reference in new issue
Block a user