Selector class
Constructors
-
Selector({String selector = 'e', 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 (default selector: @e)
-
Selector.All({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 @a
-
Selector.clone(Selector s)
-
Copy a selector
-
Selector.parse(String selector)
-
Parse a Selector, for example:
-
Selector.Player({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 @p
-
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
-
Selector.Selected({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 @s