Skip to content

Commit

Permalink
Update to 1.9.4
Browse files Browse the repository at this point in the history
  • Loading branch information
BigXplosion committed May 24, 2016
1 parent bba9617 commit e56fabe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 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'
}
}
apply plugin: 'net.minecraftforge.gradle.forge'
Expand All @@ -30,5 +30,5 @@ minecraft {

replace "@VERSION@", config.version.mod

mappings = "snapshot_20160312"
mappings = "snapshot_20160520"
}
4 changes: 2 additions & 2 deletions build.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version.mod=1.0.0
version.minecraft=1.9
version.forge=12.16.0.1868
version.minecraft=1.9.4
version.forge=12.17.0.1909
4 changes: 2 additions & 2 deletions src/main/java/com/bigxplosion/shieldhider/ShieldHider.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ public void preInit(FMLPreInitializationEvent event) {
final ModelResourceLocation shield1 = new ModelResourceLocation("shieldhider:shield1");
final ModelResourceLocation shield2 = new ModelResourceLocation("shieldhider:shield2");

ModelLoader.registerItemVariants(Items.shield, shield1, shield2);
ModelLoader.registerItemVariants(Items.SHIELD, shield1, shield2);

ModelLoader.setCustomMeshDefinition(Items.shield, new ItemMeshDefinition() {
ModelLoader.setCustomMeshDefinition(Items.SHIELD, new ItemMeshDefinition() {
@Override
public ModelResourceLocation getModelLocation(ItemStack stack) {
return hidingMode == 1 ? shield1 : shield2;
Expand Down

0 comments on commit e56fabe

Please sign in to comment.