Selector.Player constructor

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

Create entity selector @p

Implementation

Selector.Player({
  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,
}) : selector = 'p' {
  _fix();
}