Skip to content

Teleport cause for entity teleport event #10230

@ghost

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: featureRequest for a new Feature.
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions