Show elytra animation when using elytra #4108

Merged
the-real-herowl merged 1 commits from elytra into master 2024-01-20 05:02:53 +01:00
Member

Background

Before e1d5899aa5 (diff-5b1214c31d429c4988c8268df3a9b655e576e123) the elytra animation was shown but the player model was upside down. I think this commit causes the load order of mcl_player_plus and mcl_player to change. These two mods are both trying to set the player animation when elytra is in use. The mod who's global_step gets called last will win. This is determined by mod load order.

I think mcl_playerplus functionality should be moved to mcl_player. It's dumb to have two mods doing the same thing.

What this PR does

  • Stop mcl_player from setting the player animation when elytra is in use.
  • Flip the player when using elytra so the player is the right side up.
# Background Before https://git.minetest.land/MineClone2/MineClone2/commit/e1d5899aa53337dcaf0354614910ea6b2070635b#diff-5b1214c31d429c4988c8268df3a9b655e576e123 the elytra animation was shown but the player model was upside down. I think this commit causes the load order of mcl_player_plus and mcl_player to change. These two mods are both trying to set the player animation when elytra is in use. The mod who's global_step gets called last will win. This is determined by mod load order. I think mcl_playerplus functionality should be moved to mcl_player. It's dumb to have two mods doing the same thing. # What this PR does - Stop mcl_player from setting the player animation when elytra is in use. - Flip the player when using elytra so the player is the right side up.
MrRar force-pushed elytra from 1a53c66fc2 to 9b9a18c6b0 2024-01-11 20:46:11 +01:00 Compare
MrRar changed title from WIP:Show elytra animation when using elytra to Show elytra animation when using elytra 2024-01-11 20:47:28 +01:00
Author
Member

Ready for review

Ready for review
the-real-herowl added the
graphics
Testing / Retest
player
labels 2024-01-14 12:25:36 +01:00
the-real-herowl added this to the 0.87.0 - Prismatic milestone 2024-01-14 12:25:47 +01:00
the-real-herowl force-pushed elytra from 9b9a18c6b0 to 4c0bad754e 2024-01-20 04:42:15 +01:00 Compare
the-real-herowl approved these changes 2024-01-20 04:45:14 +01:00
the-real-herowl removed the
Testing / Retest
label 2024-01-20 04:58:57 +01:00
the-real-herowl merged commit 681175c463 into master 2024-01-20 05:02:53 +01:00
the-real-herowl deleted branch elytra 2024-01-20 05:03:00 +01:00
Sign in to join this conversation.
No reviewers
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: VoxeLibre/VoxeLibre#4108
No description provided.