summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOnyxDarkKnight <sor1n.iliutza16@gmail.com>2015-04-25 03:55:10 +0100
committerOnyxDarkKnight <sor1n.iliutza16@gmail.com>2015-04-25 03:55:10 +0100
commite1ea6bd5f28f0c6bdecdfb7cf6bc5eb8f6dc6e2d (patch)
tree7a9d79d91a2cdc89674d7951e44433c78605a863
parentd068bd87a35accd3112c48717751438f0185242f (diff)
Testing stuff with builds
-rw-r--r--build.gradle2
-rw-r--r--src/main/java/darkknight/jewelrycraft/JewelrycraftMod.java8
-rw-r--r--src/main/java/darkknight/jewelrycraft/util/Variables.java2
-rw-r--r--src/main/resources/mcmod.info12
4 files changed, 13 insertions, 11 deletions
diff --git a/build.gradle b/build.gradle
index 981629d..c376325 100644
--- a/build.gradle
+++ b/build.gradle
@@ -20,7 +20,7 @@ apply plugin: 'forge'
project.ext.buildnumber = "undefined"
if (System.getenv().BUILD_NUMBER) project.buildnumber = System.getenv().BUILD_NUMBER
-version = "1.7.10-alpha-" + project.buildnumber
+version = project.mcversion + "-alpha-" + project.buildnumber
group= "darkknight.jewelrycraft2"
archivesBaseName = "Jewelrycraft2"
diff --git a/src/main/java/darkknight/jewelrycraft/JewelrycraftMod.java b/src/main/java/darkknight/jewelrycraft/JewelrycraftMod.java
index 6f04bd6..a1c6227 100644
--- a/src/main/java/darkknight/jewelrycraft/JewelrycraftMod.java
+++ b/src/main/java/darkknight/jewelrycraft/JewelrycraftMod.java
@@ -36,14 +36,14 @@ import darkknight.jewelrycraft.recipes.CraftingRecipes;
import darkknight.jewelrycraft.util.Variables;
import darkknight.jewelrycraft.worldGen.village.VillageHandler;
-@Mod (modid = Variables.MODID, name = Variables.MODNAME, version = Variables.VERSION, guiFactory = Variables.CONFIG_GUI, acceptedMinecraftVersions = "[1.7.10,1.8)", canBeDeactivated = true)
+@Mod (modid = Variables.MODID, name = Variables.MODNAME, version = Variables.VERSION, guiFactory = Variables.CONFIG_GUI, acceptedMinecraftVersions = "[1.7.10,1.8)")
public class JewelrycraftMod
{
@Instance (Variables.MODID)
public static JewelrycraftMod instance;
@SidedProxy (clientSide = Variables.CLIENT_PROXY, serverSide = Variables.SERVER_PROXY)
public static CommonProxy proxy;
- public static final Logger logger = Logger.getLogger("Jewelrycraft");
+ public static final Logger logger = Logger.getLogger(Variables.MODNAME);
public static File dir;
public static CreativeTabs jewelrycraft = new CreativeTabs(Variables.MODID){
@Override
@@ -81,10 +81,10 @@ public class JewelrycraftMod
VillageHandler.preInit(e);
EventList.preInit(e);
authorList.add("OnyxDarkKnight");
- authorList.add("bspkrs");
- authorList.add("domi1819");
metadata.autogenerated = false;
metadata.authorList = authorList;
+ metadata.description = "Jewelrycraft 2 is a mod about creating jewellery and imbuing them with mystical powers. However, they have both positives and negatives. There are also curses, some good, some bad. Maybe acquiring some wouldn't be that bad.";
+ metadata.credits = "domi1819, MrCompost, pau101, bspkrs";
metadata.url = "https://github.com/sor1n/Jewelrycraft";
}
diff --git a/src/main/java/darkknight/jewelrycraft/util/Variables.java b/src/main/java/darkknight/jewelrycraft/util/Variables.java
index d440ab5..5fd59b0 100644
--- a/src/main/java/darkknight/jewelrycraft/util/Variables.java
+++ b/src/main/java/darkknight/jewelrycraft/util/Variables.java
@@ -6,7 +6,7 @@ public class Variables
{
public static final String MODID = "jewelrycraft2";
public static final String MODNAME = "Jewelrycraft 2";
- public static final String VERSION = "1.7.10-1.0.1";
+ public static final String VERSION = "1.0.1";
public static final String PACKET_CHANNEL = "jewelrycraft2";
public static final String CONFIG_GUI = "darkknight.jewelrycraft.config.ConfigGuiFactory";
diff --git a/src/main/resources/mcmod.info b/src/main/resources/mcmod.info
index 261c4c3..6cab559 100644
--- a/src/main/resources/mcmod.info
+++ b/src/main/resources/mcmod.info
@@ -1,14 +1,16 @@
[
{
- "modid": "jewelrycraft2",
- "name": "Jewelrycraft 2",
- "description": "Jewelrycraft 2 is a mod about creating jewellery and imbuing them with mystical powers. However, they have both positives and negatives. There are also curses, some good, some bad. Maybe acquiring some wouldn't be that bad.",
+ "modid": "${modid}",
+ "name": "${name}",
+ "description": "Jewelrycraft 2 is a mod about creating jewellery and imbuing them with mystical powers.
+ However, they have both positives and negatives. There are also curses, some good, some bad.
+ Maybe acquiring some wouldn't be that bad.",
"version": "${version}",
"mcversion": "${mcversion}",
"url": "https://github.com/sor1n/Jewelrycraft",
"updateUrl": "",
- "authorList": "",
- "credits": "domi1819, MrCompost, pau101",
+ "authorList": "OnyxDarkKnight",
+ "credits": "domi1819, MrCompost, pau101, bspkrs",
"logoFile": "",
"screenshots": [],
"dependencies": []