This feature is exclusive to Bedrock Edition and Minecraft Education.
Used to remove players' spawn points in the world.
Syntax[]
clearspawnpoint [player: target]
Arguments[]
player: target
: CommandSelector<Player>
- Specifies the player whose spawn point should be removed. If not specified, defaults to the command's executor (
@s
). - Must be a player name or a target selector. And the target selector should be of player type.
Result[]
Command | Trigger | Bedrock Edition |
---|---|---|
any | the arguments are not specified correctly | Unparseable |
player: target is not of player type | Failed | |
player: target fails to resolve to one or more online players | ||
player: target is not specified and the command's executor is not a player | ||
player: target 's spawn point is already cleared | ||
Otherwise | Successful |
Output[]
Command | Edition | Situation | Success Count |
---|---|---|---|
any | Bedrock Edition | On fail | 0 |
On success | the number of players whose spawnpoints are removed |
History[]
Bedrock Edition | |||||
---|---|---|---|---|---|
1.16.100 | beta 1.16.100.57 | Added /clearspawnpoint . |