From fffef9a2745aa0b53f085837222cd7702c092fd6 Mon Sep 17 00:00:00 2001 From: WayofTime Date: Fri, 23 Jan 2015 08:26:39 -0500 Subject: [PATCH] Attempt #3 --- .../common/items/armour/OmegaArmourEarth.java | 5 +++++ .../common/items/armour/OmegaArmourWater.java | 4 ++++ .../common/items/armour/OmegaArmourWind.java | 4 ++++ 3 files changed, 13 insertions(+) diff --git a/src/main/java/WayofTime/alchemicalWizardry/common/items/armour/OmegaArmourEarth.java b/src/main/java/WayofTime/alchemicalWizardry/common/items/armour/OmegaArmourEarth.java index 9386e97d..44f0dd8f 100644 --- a/src/main/java/WayofTime/alchemicalWizardry/common/items/armour/OmegaArmourEarth.java +++ b/src/main/java/WayofTime/alchemicalWizardry/common/items/armour/OmegaArmourEarth.java @@ -12,6 +12,9 @@ import WayofTime.alchemicalWizardry.common.renderer.model.ModelOmegaEarth; import com.google.common.collect.HashMultimap; import com.google.common.collect.Multimap; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; + public class OmegaArmourEarth extends OmegaArmour { public OmegaArmourEarth(int armorType) @@ -26,12 +29,14 @@ public class OmegaArmourEarth extends OmegaArmour } @Override + @SideOnly(Side.CLIENT) public ModelBiped getChestModel() { return new ModelOmegaEarth(1.0f, true, true, false, true); } @Override + @SideOnly(Side.CLIENT) public ModelBiped getLegsModel() { return new ModelOmegaEarth(0.5f, false, false, true, false); diff --git a/src/main/java/WayofTime/alchemicalWizardry/common/items/armour/OmegaArmourWater.java b/src/main/java/WayofTime/alchemicalWizardry/common/items/armour/OmegaArmourWater.java index be5a98cb..4d1bf755 100644 --- a/src/main/java/WayofTime/alchemicalWizardry/common/items/armour/OmegaArmourWater.java +++ b/src/main/java/WayofTime/alchemicalWizardry/common/items/armour/OmegaArmourWater.java @@ -1,5 +1,7 @@ package WayofTime.alchemicalWizardry.common.items.armour; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.client.model.ModelBiped; import net.minecraft.entity.Entity; import net.minecraft.item.ItemStack; @@ -19,12 +21,14 @@ public class OmegaArmourWater extends OmegaArmour } @Override + @SideOnly(Side.CLIENT) public ModelBiped getChestModel() { return new ModelOmegaWater(1.0f, true, true, false, true); } @Override + @SideOnly(Side.CLIENT) public ModelBiped getLegsModel() { return new ModelOmegaWater(0.5f, false, false, true, false); diff --git a/src/main/java/WayofTime/alchemicalWizardry/common/items/armour/OmegaArmourWind.java b/src/main/java/WayofTime/alchemicalWizardry/common/items/armour/OmegaArmourWind.java index c2205070..6c7e72d7 100644 --- a/src/main/java/WayofTime/alchemicalWizardry/common/items/armour/OmegaArmourWind.java +++ b/src/main/java/WayofTime/alchemicalWizardry/common/items/armour/OmegaArmourWind.java @@ -4,6 +4,8 @@ import net.minecraft.client.model.ModelBiped; import net.minecraft.entity.Entity; import net.minecraft.item.ItemStack; import WayofTime.alchemicalWizardry.common.renderer.model.ModelOmegaWind; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; public class OmegaArmourWind extends OmegaArmour { @@ -19,12 +21,14 @@ public class OmegaArmourWind extends OmegaArmour } @Override + @SideOnly(Side.CLIENT) public ModelBiped getChestModel() { return new ModelOmegaWind(1.0f, true, true, false, true); } @Override + @SideOnly(Side.CLIENT) public ModelBiped getLegsModel() { return new ModelOmegaWind(0.5f, false, false, true, false);