Paper
Paper copied to clipboard
Teleport cause for entity teleport event
Is your feature request related to a problem?
No way to see why an entity has teleported if it isn't a player
Describe the solution you'd like.
Add teleport cause to entityteleportevent, doesn't seem too tricky, as everywhere i've seen that EntityTeleportEvent is called, PlayerTeleportEvent is close by, so the cause is already a local variable we can just pass in.
Describe alternatives you've considered.
N/A
Other
No response