Minecraft:Commands/chase: Difference between revisions
From SAS Gaming Wiki
More actions
Remove broken links to missing pages |
Sync: updated from Minecraft |
||
| (One intermediate revision by the same user not shown) | |||
| Line 4: | Line 4: | ||
|name=chase | |name=chase | ||
|oplevel=0 | |oplevel=0 | ||
|others=<code>-DMC_DEBUG_CHASE_<br />COMMAND</code> debug property | |others=<code>-DMC_DEBUG_CHASE_<br />COMMAND</code> [[Minecraft:debug property]] | ||
}} | }} | ||
'''/chase''' is a command that can be enabled with the debug property <code>-DMC_DEBUG_CHASE_COMMAND</code>. It teleports a following player to the same position and rotation angle as a leading player whenever that leading player moves. This works even between different worlds and when the following player's Singleplayer game is paused. | '''/chase''' is a command that can be enabled with the [[Minecraft:debug property]] <code>-DMC_DEBUG_CHASE_COMMAND</code>. It teleports a following player to the same position and rotation angle as a leading player whenever that leading player moves. This works even between different worlds and when the following player's Singleplayer game is paused. | ||
== Syntax == | == Syntax == | ||
<code>chase lead [<bind_address>] [<port>]</code> | <code>chase lead [<bind_address>] [<port>]</code> | ||
: Starts a server that can be accessed on this IP address and port. It transmits the player's position whenever that player's position or facing angle changes. | : Starts a server that can be accessed on this IP address and port. It transmits the player's position whenever that player's position or facing angle changes. | ||
: By default, prints "Chase server is now running on port ''<port>''. Clients can follow you using /chase follow <ip> <port> | : By default, prints "Chase server is now running on port ''<port>''. Clients can follow you using /chase follow <ip> <port>". The default host is <code>localhost</code> and the default port 10000. If <code>chase follow</code> or <code>chase lead</code> has already been used without <code>chase stop</code> afterwards, prints the error "Chase server is already running. Stop it using /chase stop". | ||
<code>chase follow [<host>] [<port>]</code> | <code>chase follow [<host>] [<port>]</code> | ||
: Starts following the movements transmitted by the server and printing the coordinates to chat. The following player can still move independently, but gets teleported back whenever position information is received. | : Starts following the movements transmitted by the server and printing the coordinates to chat. The following player can still move independently, but gets teleported back whenever position information is received. | ||
: By default, prints "You are now chasing ''<host>'':''<port>'' | : By default, prints "You are now chasing ''<host>'':''<port>''. If that server does '/chase lead' then you will automatically go to the same position. Use '/chase stop' to stop chasing.". The default host is <code>localhost</code> and the default port 10000. If <code>chase follow</code> or <code>chase lead</code> has already been used without <code>chase stop</code> afterwards, prints the error "You are already chasing someone. Stop it using /chase stop". | ||
<code>chase stop</code> | <code>chase stop</code> | ||
: Stops transmitting or receiving positions, depending on which sub-command was used before. Prints "You have now stopped chasing" or "You are no longer being chased" respectively. If no chase is active, does nothing and prints nothing. | : Stops transmitting or receiving positions, depending on which sub-command was used before. Prints "You have now stopped chasing" or "You are no longer being chased" respectively. If no chase is active, does nothing and prints nothing. | ||
| Line 44: | Line 44: | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|java}} | |{{HistoryLine|java}} | ||
|{{HistoryLine||1.21.9|dev=25w37a|Added debug property <code>-DMC_DEBUG_CHASE_COMMAND</code>, making the command accessible in the vanilla game.}} | |{{HistoryLine||1.21.9|dev=25w37a|Added [[Minecraft:debug property]] <code>-DMC_DEBUG_CHASE_COMMAND</code>, making the command accessible in the vanilla game.}} | ||
}} | }} | ||
| Line 50: | Line 50: | ||
{{Navbox commands}} | {{Navbox commands}} | ||
de:Befehl/chase | [[Minecraft:de:Befehl/chase]] | ||
zh:命令/chase | [[Minecraft:zh:命令/chase]] | ||
Latest revision as of 11:04, 22 May 2026
Template:Exclusive Template:Debug warning Template:Infobox command
/chase is a command that can be enabled with the Minecraft:debug property -DMC_DEBUG_CHASE_COMMAND. It teleports a following player to the same position and rotation angle as a leading player whenever that leading player moves. This works even between different worlds and when the following player's Singleplayer game is paused.
Syntax
chase lead [<bind_address>] [<port>]
- Starts a server that can be accessed on this IP address and port. It transmits the player's position whenever that player's position or facing angle changes.
- By default, prints "Chase server is now running on port <port>. Clients can follow you using /chase follow <ip> <port>". The default host is
localhostand the default port 10000. Ifchase followorchase leadhas already been used withoutchase stopafterwards, prints the error "Chase server is already running. Stop it using /chase stop".
chase follow [<host>] [<port>]
- Starts following the movements transmitted by the server and printing the coordinates to chat. The following player can still move independently, but gets teleported back whenever position information is received.
- By default, prints "You are now chasing <host>:<port>. If that server does '/chase lead' then you will automatically go to the same position. Use '/chase stop' to stop chasing.". The default host is
localhostand the default port 10000. Ifchase followorchase leadhas already been used withoutchase stopafterwards, prints the error "You are already chasing someone. Stop it using /chase stop".
chase stop
- Stops transmitting or receiving positions, depending on which sub-command was used before. Prints "You have now stopped chasing" or "You are no longer being chased" respectively. If no chase is active, does nothing and prints nothing.
Arguments
- A hostname or IP address, to be used for transmitting locations. E.g. "
localhost" and "127.0.0.1" are equivalent. - Template:Arg desc
- Same as
bind_address, except for receiving. Also called "ip" in the/chase leadchat output. - Template:Arg desc
- Network port, to be used for transmitting or receiving locations.
- Template:Arg desc
Result
Template:Result table Template:Result table Template:Result table Template:Result table
Output
Template:Output table Template:Output table Template:Output table