Selector.Random constructor
Selector.Random({
- int? limit,
- List? tags,
- Team? team,
- List<
Score> ? scores, - Map<
String, dynamic> ? nbt, - String? strNbt,
- EntityType? type,
- Area? area,
- Range? distance,
- Range? level,
- Gamemode? gamemode,
- String? name,
- Rotation? isRotated,
- Range? horizontalRotation,
- Range? verticalRotation,
- Sort? sorting,
- String? playerName,
- String? predicate,
Create entity selector @r
Implementation
Selector.Random({
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 = 'r' {
_fix();
}