Skip to content

Instantly share code, notes, and snippets.

@chaarlottte
Last active April 9, 2021 20:41
Show Gist options
  • Save chaarlottte/f5400e3a55b2867f7cdbb94ca83d6dbc to your computer and use it in GitHub Desktop.
Save chaarlottte/f5400e3a55b2867f7cdbb94ca83d6dbc to your computer and use it in GitHub Desktop.
1.7 anims
switch (ItemRenderer.ItemRenderer$1.field_178094_a[enumaction.ordinal()])
{
case 1:
this.transformFirstPersonItem(f, 0.0F);
break;
case 2:
case 3:
this.func_178104_a(entityplayersp, partialTicks);
this.transformFirstPersonItem(f, f1);
break;
case 4:
this.transformFirstPersonItem(0.2F, f1);
this.func_178103_d();
GlStateManager.translate(-0.5F, 0.2F, 0.0F);
break;
case 5:
this.transformFirstPersonItem(f, f1);
this.func_178098_a(partialTicks, entityplayersp);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment