forked from TAIGA/TAIGA
fixed some versoning stuff
This commit is contained in:
10
build.gradle
10
build.gradle
@@ -63,16 +63,8 @@ version = project.buildInfo.revision
|
|||||||
minecraft {
|
minecraft {
|
||||||
version = "1.10.2-12.18.2.2107"
|
version = "1.10.2-12.18.2.2107"
|
||||||
runDir = "run"
|
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 allways work.
|
|
||||||
// simply re-run your setup task after changing the mappings to update your workspace.
|
|
||||||
mappings = "snapshot_20161015"
|
mappings = "snapshot_20161015"
|
||||||
// makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable.
|
replace '@VERSION@', project.version
|
||||||
|
|
||||||
replace "${version}", project.version
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//noinspection GroovyAssignabilityCheck
|
//noinspection GroovyAssignabilityCheck
|
||||||
|
@@ -32,11 +32,11 @@ import static com.sosnitzka.taiga.MaterialTraits.*;
|
|||||||
import static com.sosnitzka.taiga.TAIGAConfiguration.*;
|
import static com.sosnitzka.taiga.TAIGAConfiguration.*;
|
||||||
import static slimeknights.tconstruct.library.utils.HarvestLevels.*;
|
import static slimeknights.tconstruct.library.utils.HarvestLevels.*;
|
||||||
|
|
||||||
@Mod(modid = TAIGA.MODID, version = TAIGA.VERSION, guiFactory = TAIGA.GUIFACTORY, dependencies = "required-after:tconstruct@[1.10-2.3.3,);" + "required-after:mantle@[1.10-0.10.3,)")
|
@Mod(modid = TAIGA.MODID, version = TAIGA.VERSION, guiFactory = TAIGA.GUIFACTORY, dependencies = "required-after:tconstruct@[1.10.2-2.5.0,);" + "required-after:mantle@[1.10.2-1.0.0,)")
|
||||||
public class TAIGA {
|
public class TAIGA {
|
||||||
|
|
||||||
public static final String MODID = "taiga";
|
public static final String MODID = "taiga";
|
||||||
public static final String VERSION = "${version}";
|
public static final String VERSION = "@VERSION@";
|
||||||
public static final String GUIFACTORY = "com.sosnitzka.taiga.TAIGAGuiFactory";
|
public static final String GUIFACTORY = "com.sosnitzka.taiga.TAIGAGuiFactory";
|
||||||
|
|
||||||
@SidedProxy(clientSide = "com.sosnitzka.taiga.proxy.ClientProxy", serverSide = "com.sosnitzka.taiga.proxy.CommonProxy")
|
@SidedProxy(clientSide = "com.sosnitzka.taiga.proxy.ClientProxy", serverSide = "com.sosnitzka.taiga.proxy.CommonProxy")
|
||||||
@@ -48,6 +48,8 @@ public class TAIGA {
|
|||||||
public void preInit(FMLPreInitializationEvent e) {
|
public void preInit(FMLPreInitializationEvent e) {
|
||||||
proxy.initConfig();
|
proxy.initConfig();
|
||||||
|
|
||||||
|
System.out.println(String.format("init from TAIGA Version %s", VERSION));
|
||||||
|
|
||||||
Items.register(); // Registers items and its oreDict
|
Items.register(); // Registers items and its oreDict
|
||||||
Blocks.register(); // Registers blocks and its items form a long with its oreDict
|
Blocks.register(); // Registers blocks and its items form a long with its oreDict
|
||||||
Fluids.register(); // Registers all fluids and its buckets
|
Fluids.register(); // Registers all fluids and its buckets
|
||||||
|
Reference in New Issue
Block a user