Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor riding and jumping APIs into a separate module #666

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

Pyrofab
Copy link
Member

@Pyrofab Pyrofab commented Jun 16, 2024

Requiem has a bunch of mixins to allow a player to :

  1. ride an entity like the entity they possess would (riding a chicken when possessing a baby zombie)
  2. jump like the entity they possess (charged jumps when possessing a horse)

This PR rewrites the former feature to rely on Mojang's own refactors. For maintainability's sake, it also moves said feature to its own module (here dubbed "Vaquero", as in cowboy, but better names welcome). Since there was a common theme with the latter feature, I figured they may as well go together.

@mrsterner
Copy link

This looks great! No comment here

@Pyrofab Pyrofab merged commit 2ca4eb1 into 1.20 Jun 25, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants