Entity#addPassenger() does not function as intended.
With a small plugin setup I arranged, I implemented the "PlayerInteractEntityEvent" with simple methods of setting the event#getRightClicked method as the passenger of the event#getPlayer() method.
Here is the code for any questions:
This method originally states:
Here is the output of my results from the code listed below:
Before I mention anything else, I'd like to state that there are no error stacktraces within my server's console.
As you can see, event#getRightClicked() works as intended; however, the entity clicked does not get stacked onto the vehicle (The player) instead, the passenger becomes completely frozen not being able to move or be pushed when walking into it's hit box.
This bug i cannot replicate in normal minecraft. Running the command:
Allows me to summon a normal cow with a wolf as a passenger normally