Entity.Selected constructor

Entity.Selected({
  1. EntityType? type,
  2. Range? distance,
  3. List? tags,
  4. Team? team,
  5. String? strNbt,
  6. Map<String, dynamic>? nbt,
  7. List<Score>? scores,
  8. Range? level,
  9. Gamemode? gamemode,
  10. Area? area,
  11. String? name,
  12. Rotation? isRotated,
  13. Range? horizontalRotation,
  14. Range? verticalRotation,
  15. String? predicate,
})

creates an entity with @s

Implementation

Entity.Selected({
  EntityType? type,
  Range? distance,
  List<dynamic>? tags,
  Team? team,
  String? strNbt,
  Map<String, dynamic>? nbt,
  List<Score>? scores,
  Range? level,
  Gamemode? gamemode,
  Area? area,
  String? name,
  Rotation? isRotated,
  Range? horizontalRotation,
  Range? verticalRotation,
  String? predicate,
}) : selector = 's' {
  _setArguments(
    null,
    tags,
    team,
    scores,
    nbt,
    strNbt,
    type,
    area,
    distance,
    level,
    gamemode,
    name,
    isRotated,
    horizontalRotation,
    verticalRotation,
    predicate,
    false,
  );
}