Selector constructor

Selector({
  1. String selector = 'e',
  2. int? limit,
  3. List? tags,
  4. Team? team,
  5. List<Score>? scores,
  6. Map<String, dynamic>? nbt,
  7. String? strNbt,
  8. EntityType? type,
  9. Area? area,
  10. Range? distance,
  11. Range? level,
  12. Gamemode? gamemode,
  13. String? name,
  14. Rotation? isRotated,
  15. Range? horizontalRotation,
  16. Range? verticalRotation,
  17. Sort? sorting,
  18. String? playerName,
  19. String? predicate,
})

Create entity selector (default selector: @e)

Implementation

Selector({
  this.selector = 'e',
  this.limit,
  this.tags,
  this.team,
  this.scores,
  this.nbt,
  this.strNbt,
  this.type,
  this.area,
  this.distance,
  this.level,
  this.gamemode,
  this.name,
  this.isRotated,
  this.horizontalRotation,
  this.verticalRotation,
  this.sorting,
  this.playerName,
  this.predicate,
}) {
  _fix();
}