Added the red tint for the custom modeled npc after hit

This commit is contained in:
Goodbird committed 2024-02-12 21:22:07 +03:00
1 parent a51839bee6
commit f434585aec
2 files changed
+11

No files matched your search

@@ -36,6 +36,8 @@ public class MixinGeckoAddon {
modelEntity.rangedAttackAnimName = display.getCustomModelData().getRangedAttackAnim();
modelEntity.hurtAnimName = display.getCustomModelData().getHurtAnim();
modelEntity.leftHeldItem = npc.inventory.getOffHand();
modelEntity.hurtTime = npc.hurtTime;
modelEntity.deathTime = npc.deathTime;
}
}
}