mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Add support for offhand bow aiming animation (#3085)
Vanilla allows you to use a bow in your offhand, but it's not visible to others or in third person. Fixes MC-88356
This commit is contained in:
1 parent
89eb8f067d
commit
2aaa4f424d
1 file changed
+12
@@ -16,3 +16,15 @@
|
||||
}
|
||||
|
||||
private void func_177137_d(AbstractClientPlayer p_177137_1_)
|
||||
@@ -127,6 +129,11 @@
|
||||
{
|
||||
modelbiped$armpose1 = ModelBiped.ArmPose.BLOCK;
|
||||
}
|
||||
+ // FORGE: fix MC-88356 allow offhand to use bow and arrow animation
|
||||
+ else if (enumaction1 == EnumAction.BOW)
|
||||
+ {
|
||||
+ modelbiped$armpose1 = ModelBiped.ArmPose.BOW_AND_ARROW;
|
||||
+ }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user