Commit Graph

9 Commits

Author SHA1 Message Date
Electroblob77 795bdcd427 Fix player animations being applied to all instances of the model 2020-10-17 13:02:09 +01:00
Electroblob77 ac5b3466e7 A few little optimisations for PlayerAnimator 2020-09-30 17:05:57 +01:00
Electroblob77 aac931f6b2 Clean up a bunch of TODOs that are no longer relevant 2020-09-23 23:49:36 +01:00
Electroblob77 8ae6bc9102 Tidy up entity geometry stuff:
- Add a getCentre method for entities to GeometryUtils
- Replace getPositionEyes(0) with getPositionEyes(1) since it's more efficient, and by definition they must be the same
- Remove all the silly getEntityBoundingBox().minY stuff, this bug has been fixed since 1.8! (which begs the question: if it was considered a bug, how on earth did it go unfixed for that long?)
- A few other small things
2020-07-04 13:34:11 +01:00
Electroblob77 238b9d04bb Split up and reorganise WizardryUtilities 2020-06-13 23:29:01 +01:00
Electroblob77 937c791196 Goddamnit MCP, neither of these two methods do what the comments say they do! 2020-06-09 23:25:30 +01:00
Electroblob77 99a9524ee7 Add config option to disable player animations 2020-06-07 23:05:50 +01:00
Electroblob77 a8f1ac38fa Derp 2020-06-04 14:50:02 +01:00
Electroblob77 be250e218e Add player animation system!
- Hooks into ModelRenderer by wrapping it in an extended version that allows modification of angles after the model has set them
- Is compatible with pretty much everything, yay (even modded armour!)
- Adds property overrides to ItemWand so that gets animated too
- Adds a system for generating override models from a template at runtime so I don't have to duplicate all the wand models
- Tweaks particles and ray spells so they line up with the end of the newly-animated wand
- Fixes a long-standing bug where wand usage actions would stop immediately for all non-continuous spells
2020-05-09 20:17:15 +01:00