Entity.Player constructor
Entity.Player({})
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,
);
}