diff --git a/patches/minecraft/net/minecraft/client/model/ModelBiped.java.patch b/patches/minecraft/net/minecraft/client/model/ModelBiped.java.patch index f65af7fa4..782f08c3a 100644 --- a/patches/minecraft/net/minecraft/client/model/ModelBiped.java.patch +++ b/patches/minecraft/net/minecraft/client/model/ModelBiped.java.patch @@ -4,8 +4,8 @@ this.field_178723_h.field_78795_f = (float)(-Math.PI / 2) + this.field_78116_c.field_78795_f; this.field_178724_i.field_78795_f = (float)(-Math.PI / 2) + this.field_78116_c.field_78795_f; } -+ this.field_187075_l.setRotationAnglesLeftHand(this,p_78087_1_,p_78087_2_,p_78087_3_,p_78087_4_,p_78087_5_,p_78087_6_,p_78087_7_); -+ this.field_187076_m.setRotationAnglesRightHand(this,p_78087_1_,p_78087_2_,p_78087_3_,p_78087_4_,p_78087_5_,p_78087_6_,p_78087_7_); ++ this.field_187075_l.setRotationAnglesLeftHand(this,p_78087_1_, p_78087_2_, p_78087_3_, p_78087_4_, p_78087_5_, p_78087_6_, p_78087_7_); ++ this.field_187076_m.setRotationAnglesRightHand(this,p_78087_1_, p_78087_2_, p_78087_3_, p_78087_4_, p_78087_5_, p_78087_6_, p_78087_7_); func_178685_a(this.field_78116_c, this.field_178720_f); } @@ -22,7 +22,7 @@ BOW_AND_ARROW; + //=======FORGE START=======// + private final net.minecraftforge.client.model.IForgeArmPose pose; -+ ArmPose(net.minecraftforge.client.model.IForgeArmPose poseIn){pose=poseIn;} ++ ArmPose(net.minecraftforge.client.model.IForgeArmPose poseIn){pose = poseIn;} + ArmPose(){this(net.minecraftforge.client.model.IForgeArmPose.EMPTY);} + @Override + public void setRotationAnglesLeftHand(net.minecraft.client.model.ModelBiped modelBiped, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scaleFactor, net.minecraft.entity.Entity entityIn) {pose.setRotationAnglesLeftHand(modelBiped, limbSwing, limbSwingAmount, ageInTicks, netHeadYaw, headPitch, scaleFactor, entityIn);} diff --git a/patches/minecraft/net/minecraft/client/renderer/entity/RenderPlayer.java.patch b/patches/minecraft/net/minecraft/client/renderer/entity/RenderPlayer.java.patch index 0a4475fd9..dada6a88f 100644 --- a/patches/minecraft/net/minecraft/client/renderer/entity/RenderPlayer.java.patch +++ b/patches/minecraft/net/minecraft/client/renderer/entity/RenderPlayer.java.patch @@ -28,7 +28,7 @@ if (p_177137_1_.func_184605_cv() > 0) { EnumAction enumaction = itemstack.func_77975_n(); -+ modelbiped$armpose=enumaction.getBipedArmPose(); ++ modelbiped$armpose = enumaction.getBipedArmPose(); if (enumaction == EnumAction.BLOCK) { @@ -36,7 +36,7 @@ if (p_177137_1_.func_184605_cv() > 0) { EnumAction enumaction1 = itemstack1.func_77975_n(); -+ modelbiped$armpose1=enumaction1.getBipedArmPose(); ++ modelbiped$armpose1 = enumaction1.getBipedArmPose(); if (enumaction1 == EnumAction.BLOCK) { diff --git a/src/main/java/net/minecraftforge/client/model/IForgeArmPose.java b/src/main/java/net/minecraftforge/client/model/IForgeArmPose.java index 3c0317f98..e2081cebd 100644 --- a/src/main/java/net/minecraftforge/client/model/IForgeArmPose.java +++ b/src/main/java/net/minecraftforge/client/model/IForgeArmPose.java @@ -7,7 +7,7 @@ @SideOnly(Side.CLIENT) public interface IForgeArmPose { - IForgeArmPose EMPTY=new IForgeArmPose() {}; + IForgeArmPose EMPTY = new IForgeArmPose() {}; default void setRotationAnglesLeftHand(ModelBiped modelBiped,float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scaleFactor, Entity entityIn) { } default void setRotationAnglesRightHand(ModelBiped modelBiped,float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scaleFactor, Entity entityIn) { diff --git a/src/main/java/net/minecraftforge/common/IForgeAction.java b/src/main/java/net/minecraftforge/common/IForgeAction.java index b62f83f71..f64d4b3c0 100644 --- a/src/main/java/net/minecraftforge/common/IForgeAction.java +++ b/src/main/java/net/minecraftforge/common/IForgeAction.java @@ -6,7 +6,7 @@ import net.minecraftforge.fml.relauncher.SideOnly; public interface IForgeAction { - IForgeAction EMPTY=new IForgeAction() {}; + IForgeAction EMPTY = new IForgeAction() {}; /** * @return The ArmPose used for render.