-
Notifications
You must be signed in to change notification settings - Fork 97
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
Rideable entities #561
Comments
This is fine. |
Issue #287 for context:
And a refined version:
|
Thanks for organizing. And for ridable mobs, they would require some biological needs, so may differ more from machines. |
Just, make sure to balance it, we don't want to make horses OP, or too inconvenient to maintain. |
Is your feature request related to a problem? Please describe.
It seems that boat and horse may be added in the future, so this feature is important.
If we need to implement the logic and idea correctly and completely, this feature (https://minecraft.fandom.com/wiki/Riding) would still be needed, instead of just targeting implementing the feature in the simplest and easiest way. This behaviour and direction have been used for a long time with Load and the static class structures as examples. (Taken from a Discord message in the boat post.)
Describe the solution you'd like
We should implement the riding feature. If boat is implemented with
Boat
as in #134, it would not be a standardized logic, i.e. not implemented completely and correctly. There should be a map (aBiMap
is recommended.) mapping the entity riding relationships. The map should be stored in a separated file in save. When the save system is rewritten, the data of the passenger can be instead recorded within an entity recursively instead of using a separated mapping. The position of the passenger is led by the mount and the boat is controlled by the player when being ridden. An entity can only be ridden and/or riding not more than one entity not being ridden by the entity itself.The text was updated successfully, but these errors were encountered: