entity

val CommandContext<ServerCommandSource>.entity: Entity?

Entity executing the command or null if not executed by an entity.

Author

Cypher121

See also