Entity.Player constructor

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

creates an entity with @p

Implementation

Entity.Player({
  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 = 'p' {
  _setArguments(
    null,
    tags,
    team,
    scores,
    nbt,
    strNbt,
    null,
    area,
    distance,
    level,
    gamemode,
    name,
    isRotated,
    horizontalRotation,
    verticalRotation,
    predicate,
    false,
  );
}