Minecraft:Commands/raid: Difference between revisions
From SAS Gaming Wiki
More actions
imported>Parrot Pizza mNo edit summary |
Remove broken links to missing pages |
||
| Line 4: | Line 4: | ||
|name=raid | |name=raid | ||
|oplevel=3 | |oplevel=3 | ||
|others=<code>-DMC_DEBUG_DEV_COMMANDS</code> | |others=<code>-DMC_DEBUG_DEV_COMMANDS</code> debug property | ||
}} | }} | ||
'''/raid''' is a command that can be enabled with the | '''/raid''' is a command that can be enabled with the debug property <code>-DMC_DEBUG_DEV_COMMANDS</code>. It controls raids. | ||
== Syntax == | == Syntax == | ||
<code>raid start <omenlvl></code> | <code>raid start <omenlvl></code> | ||
: Starts a raid of the specified level if there is a | : Starts a raid of the specified level if there is a village near the execution position and there is no ongoing raid. | ||
<code>raid stop</code> | <code>raid stop</code> | ||
: Stops a raid if there is one at a village near the | : Stops a raid if there is one at a village near the execution position. | ||
<code>raid check</code> | <code>raid check</code> | ||
: Checks if there is a raid at a village near the execution position, and prints information about it if there is. The information includes the number of waves spawned as of yet, the level of the raid, the number of raiders left in the current wave, and the total health of all raiders left in the current wave. | : Checks if there is a raid at a village near the execution position, and prints information about it if there is. The information includes the number of waves spawned as of yet, the level of the raid, the number of raiders left in the current wave, and the total health of all raiders left in the current wave. | ||
<code>raid sound <type></code> | <code>raid sound <type></code> | ||
: If the specified | : If the specified text component evaluates to the string {{cd|local}} (without resolution), plays a raid horn sound 5 blocks on the X axis away from the execution position. Otherwise, does nothing. | ||
<code>raid spawnleader</code> | <code>raid spawnleader</code> | ||
: Spawns a | : Spawns a pillager as a raid captain at the execution position. | ||
<code>raid setomen <level></code> | <code>raid setomen <level></code> | ||
: Sets the level of an ongoing raid at a village near the execution position to the specified level. | : Sets the level of an ongoing raid at a village near the execution position to the specified level. | ||
<code>raid glow</code> | <code>raid glow</code> | ||
: Applies the | : Applies the Glowing effect to all current raiders for 50 seconds. | ||
== Arguments == | == Arguments == | ||
{{argument|omenlvl|integer}} | {{argument|omenlvl|integer}} | ||
: Specifies the | : Specifies the Bad Omen level to start a raid with. | ||
: {{arg desc|je=integer|min=0}} | : {{arg desc|je=integer|min=0}} | ||
{{argument|type|component}} | {{argument|type|component}} | ||
| Line 33: | Line 33: | ||
: {{arg desc|je=component}} | : {{arg desc|je=component}} | ||
{{argument|level|integer}} | {{argument|level|integer}} | ||
: Specifies the | : Specifies the Bad Omen level to set a raid's level to. | ||
: {{arg desc|je=integer|min=0}} | : {{arg desc|je=integer|min=0}} | ||
| Line 56: | Line 56: | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|java}} | |{{HistoryLine|java}} | ||
|{{HistoryLine||1.21.9|dev=Pre-Release 1|Added | |{{HistoryLine||1.21.9|dev=Pre-Release 1|Added debug property <code>-DMC_DEBUG_DEV_COMMANDS</code>, making the command accessible in the vanilla game.}} | ||
}} | }} | ||
| Line 62: | Line 62: | ||
{{Navbox commands}} | {{Navbox commands}} | ||
de:Befehl/raid | |||
zh:命令/raid | |||
Revision as of 15:44, 9 April 2026
Template:Exclusive Template:Debug warning Template:Infobox command
/raid is a command that can be enabled with the debug property -DMC_DEBUG_DEV_COMMANDS. It controls raids.
Syntax
raid start <omenlvl>
- Starts a raid of the specified level if there is a village near the execution position and there is no ongoing raid.
raid stop
- Stops a raid if there is one at a village near the execution position.
raid check
- Checks if there is a raid at a village near the execution position, and prints information about it if there is. The information includes the number of waves spawned as of yet, the level of the raid, the number of raiders left in the current wave, and the total health of all raiders left in the current wave.
raid sound <type>
- If the specified text component evaluates to the string Template:Cd (without resolution), plays a raid horn sound 5 blocks on the X axis away from the execution position. Otherwise, does nothing.
raid spawnleader
- Spawns a pillager as a raid captain at the execution position.
raid setomen <level>
- Sets the level of an ongoing raid at a village near the execution position to the specified level.
raid glow
- Applies the Glowing effect to all current raiders for 50 seconds.
Arguments
- Specifies the Bad Omen level to start a raid with.
- Template:Arg desc
- Specifies the text component whose string value should be Template:Cd for a raid horn sound to be played.
- Template:Arg desc
- Specifies the Bad Omen level to set a raid's level to.
- 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 Template:Output table Template:Output table Template:Output table Template:Output table Template:Output table Template:Output table
History
de:Befehl/raid zh:命令/raid