Skip to content

Commit

Permalink
Update to Minecraft 1.9.4
Browse files Browse the repository at this point in the history
  • Loading branch information
maruohon committed May 19, 2016
1 parent 07e18bb commit fbc3365
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 34 deletions.
35 changes: 5 additions & 30 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ buildscript {
}
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.1-SNAPSHOT'
classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT'
}
}

Expand Down Expand Up @@ -39,7 +39,7 @@ minecraft {
ext.mod_version = "${config.mod_version}"

if (mod_version.endsWith('-dev')) {
mod_version = mod_version + "-" + new Date().format('yyyyMMdd_HHmmss')
mod_version = mod_version + "." + new Date().format('yyyy.MM.dd.HH.mm.ss')
}

replaceIn "Reference.java"
Expand Down Expand Up @@ -78,6 +78,9 @@ processResources
// Exclude the GIMP image files
exclude '**/*.xcf'

// Exclude the Cubik model files
exclude '**/*.bdc3D'

// this will ensure that this task is redone when the versions change.
inputs.property "version", project.version
inputs.property "mcversion", project.minecraft.version
Expand All @@ -98,31 +101,3 @@ processResources
// Move access transformers to META-INF
// rename '(' + config.mod_id + '_at.cfg)', 'META-INF/$1'
}

/*
jar {
manifest {
attributes 'FMLAT': config.mod_id + '_at.cfg'
}
}
// This task creates a jar file containing the source files of this project
task sourcesJar(type: Jar, dependsOn: classes) {
from sourceSets.main.allSource
// This classifier is standard and should not be changed
classifier = 'sources'
}
// This task creates a jar file containing the unobfuscated class files of the project
task deobfJar(type: Jar) {
from sourceSets.main.output
// This classifier is standard and should not be changed
classifier = 'deobf'
}
// This section enables the last two tasks
artifacts {
archives sourcesJar
archives deobfJar
}
*/
6 changes: 3 additions & 3 deletions build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ group = fi.dy.masa
mod_id = minihud
mod_version = 0.2.0

minecraft_version = 1.9
forge_version = 12.16.1.1887
mappings_version = snapshot_20160504
minecraft_version = 1.9.4
forge_version = 12.17.0.1909-1.9.4
mappings_version = snapshot_20160519
2 changes: 1 addition & 1 deletion src/main/java/fi/dy/masa/minihud/MiniHud.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@Mod(modid = Reference.MOD_ID, name = Reference.MOD_NAME, version = Reference.MOD_VERSION,
guiFactory = "fi.dy.masa.minihud.config.MiniHudGuiFactory",
updateJSON = "https://raw.githubusercontent.com/maruohon/minihud/master/update.json",
clientSideOnly=true, acceptedMinecraftVersions = "1.9")
clientSideOnly=true, acceptedMinecraftVersions = "1.9,1.9.4")
public class MiniHud
{
@Instance(Reference.MOD_ID)
Expand Down

0 comments on commit fbc3365

Please sign in to comment.