Skip to content

Conversation

@chickeneer
Copy link
Contributor

As I create this, I become aware that the Vehicle interface is strange since almost all entities are rideable with commands. And there is an internal class called VehicleEntity which is only applicable to boats and minecarts. Regardless of this oddity, to be consistent with the existing other uses of the Vehicle interface, I recommend it get added here.

Other entities with the Vehicle Interface:

  • AbstractHorse
  • HappyGhast
  • Strider
  • Pig

Main advantage to this change is access to events such as the following for API consistency till their use is deprecated.

  • VehicleBlockCollisionEvent
  • VehicleEnterEvent
  • VehicleExitEvent

Noting that many of the other "Vehicle" events are specific to boats/minecarts.

@chickeneer chickeneer requested a review from a team as a code owner December 31, 2025 01:37
@github-project-automation github-project-automation bot moved this to Awaiting review in Paper PR Queue Dec 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Awaiting review

Development

Successfully merging this pull request may close these issues.

2 participants