Verified Commit d03a90c6 authored by Korynkai's avatar Korynkai
Browse files

Update to 1.12.2

parent 4ad4682b
Pipeline #37 failed with stages
in 10 seconds
## Mod Name (for Minecraft 1.7.10)
## Mod Name (for Minecraft 1.12.2)
[DESCRIPTION]
......
......@@ -11,19 +11,32 @@ buildscript {
}
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
}
}
apply plugin: 'forge'
apply plugin: "net.minecraftforge.gradle.forge"
version = "1.0.0"
group = "com.qmxtech.modname" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "ModName"
minecraft {
version = "1.7.10-10.13.2.1230"
runDir = "eclipse"
version = project.mcversion + "-" + project.forgeversion
runDir = "run"
// the mappings can be changed at any time, and must be in the following format.
// snapshot_YYYYMMDD snapshot are built nightly.
// stable_# stables are built at the discretion of the MCP team.
// Use non-default mappings at your own risk. they may not always work.
// simply re-run your setup task after changing the mappings to update your workspace.
mappings = project.mcpversion
// makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable.
replace '@VERSION@', project.version
}
repositories {
mavenCentral()
}
dependencies {
......
version = 1.0.0
mcversion = 1.12.2
forgeversion = 14.23.5.2768
mcpversion = stable_39
\ No newline at end of file
#Wed Jul 02 15:54:47 CDT 2014
#Thu Aug 15 12:55:49 UTC 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.7-bin.zip
package com.qmxtech.modname;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Config.java
// BuildInfo.java
// <AUTHOR> | Created : <DDMMMYY> | Last Modified : <DDMMMYY> by <USER>
// Version : 1.0.0
// This is a source file for 'Mod Name'; it defines a configuration class.
......@@ -16,20 +16,20 @@ package com.qmxtech.modname;
//
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// The 'Config' Class
// The 'BuildInfo' Class
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
public class Config
public class BuildInfo
{
// Fields
public static final String MOD_ID = "modname";
public static final String NAME = "Mod Name";
public static final String VERSION = "1.0.0";
public static final String VERSION = "@VERSION@";
public static final String CLIENT_PROXY = "com.qmxtech.modname.proxy.ClientProxy";
public static final String SERVER_PROXY = "com.qmxtech.modname.proxy.ServerProxy";
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// End of 'Config.java'
// End of 'BuildInfo.java'
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
......@@ -13,25 +13,25 @@ package com.qmxtech.modname;
// Imports
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.Mod.Instance;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.Mod.Instance;
import net.minecraftforge.fml.common.SidedProxy;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import com.qmxtech.modname.proxy.CommonProxy;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// The 'ModName' Class
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@Mod( modid = Config.MOD_ID, name = Config.NAME, version = Config.VERSION ) public class ModName
@Mod( modid = BuildInfo.MOD_ID, name = BuildInfo.NAME, version = BuildInfo.VERSION ) public class ModName
{
// Fields
@Instance( Config.MOD_ID ) public static ModName instance;
@SidedProxy( clientSide = Config.CLIENT_PROXY, serverSide = Config.SERVER_PROXY ) public static CommonProxy proxy;
@Instance( BuildInfo.MOD_ID ) public static ModName instance;
@SidedProxy( clientSide = BuildInfo.CLIENT_PROXY, serverSide = BuildInfo.SERVER_PROXY ) public static CommonProxy proxy;
// Methods
......
......@@ -7,7 +7,7 @@
"mcversion": "${mcversion}",
"url": "http://minecraft.qmxtech.com/modname/",
"updateUrl": "",
"authorList": ["QMXTech"],
"authors": ["QMXTech"],
"credits": "",
"logoFile": "",
"screenshots": [],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment