getType

abstract fun getType(entity: Entity): EntityType

Gets an entity's type