Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Commands/debugmobspawning: Difference between revisions

From SAS Gaming Wiki
imported>Nethonos
de-interwiki
 
SyncBot (talk | contribs)
Fix template calls: add MC/ prefix
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{distinguish|Commands/debugconfig|Commands/debugpath}}
{{MC/Distinguish|Commands/debugconfig|Commands/debugpath}}
{{exclusive|java}}
{{MC/Exclusive|java}}
{{debug warning}}
{{MC/Debug warning}}
{{Infobox command
{{Infobox command
| name = debugmobspawning
| name = debugmobspawning
| oplevel = 2
| oplevel = 2
| others = <code>-DMC_DEBUG_DEV_COMMANDS</code> [[Minecraft:debug property]]
| others = <code>-DMC_DEBUG_DEV_COMMANDS</code> debug property
}}
}}


'''/debugmobspawning''' is a command that can be enabled with the [[Minecraft:debug property]] <code>-DMC_DEBUG_DEV_COMMANDS</code>. It attempts to spawn mobs of the specified spawn group at the specified destination.
'''/debugmobspawning''' is a command that can be enabled with the debug property <code>-DMC_DEBUG_DEV_COMMANDS</code>. It attempts to spawn mobs of the specified spawn group at the specified destination.


== Syntax ==
== Syntax ==
Line 15: Line 15:


== Arguments ==
== Arguments ==
{{argument|''spawn group''}}
{{MC/Argument|''spawn group''}}
: Specifies the spawn group to force a spawn attempt for.
: Specifies the spawn group to force a spawn attempt for.
: Must be one of {{cd|ambient}}, {{cd|axolotls}}, {{cd|creature}}, {{cd|misc}}, {{cd|monster}}, {{cd|underground_water_creature}}, {{cd|water_ambient}}, or {{cd|water_creature}}.
: Must be one of {{MC/Cd|ambient}}, {{MC/Cd|axolotls}}, {{MC/Cd|creature}}, {{MC/Cd|misc}}, {{MC/Cd|monster}}, {{MC/Cd|underground_water_creature}}, {{MC/Cd|water_ambient}}, or {{MC/Cd|water_creature}}.
{{argument|at|block_pos}}
{{MC/Argument|at|block_pos}}
: Specifies the position to force the spawn attempt on.
: Specifies the position to force the spawn attempt on.
: {{arg desc|je=block_pos}}
: {{MC/Arg desc|je=block_pos}}


== Result ==
== Result ==
Line 29: Line 29:


== Output ==
== Output ==
{{Output table}}
{{MC/Output table}}
{{Output table|edition=je|On success|1|1|1}}
{{MC/Output table|edition=je|On success|1|1|1}}
{{Output table}}
{{MC/Output table}}


== History ==
== History ==
{{HistoryTable
{{HistoryTable
|{{HistoryLine|java}}
|{{MC/HistoryLine|java}}
|{{HistoryLine||1.21.9|dev=Pre-Release 1|Added [[Minecraft:debug property]] <code>-DMC_DEBUG_DEV_COMMANDS</code>, making the command accessible in the vanilla game.}}
|{{MC/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.}}
}}
}}


== Navigation ==
== Navigation ==
{{Navbox commands}}
{{MC/Navbox commands}}


[[Minecraft:de:Befehl/debugmobspawning]]
de:Befehl/debugmobspawning
[[Minecraft:zh:命令/debugmobspawning]]
zh:命令/debugmobspawning

Latest revision as of 20:09, 9 April 2026

Template:Hatnote Script error: No such module "Exclusive". Template:Warning Template:Infobox command

/debugmobspawning is a command that can be enabled with the debug property -DMC_DEBUG_DEV_COMMANDS. It attempts to spawn mobs of the specified spawn group at the specified destination.

Syntax

debugmobspawning <spawn group> <at>

Forces a spawn attempt for the specified spawn group at the specified block position. Mobs only spawn if the spawn attempt succeeds, according to the rules described in Template:Slink.

Arguments

<spawn group>

Specifies the spawn group to force a spawn attempt for.
Must be one of
  1. REDIRECT Template:Code

Template:Redr,

  1. REDIRECT Template:Code

Template:Redr,

  1. REDIRECT Template:Code

Template:Redr,

  1. REDIRECT Template:Code

Template:Redr,

  1. REDIRECT Template:Code

Template:Redr,

  1. REDIRECT Template:Code

Template:Redr,

  1. REDIRECT Template:Code

Template:Redr, or

  1. REDIRECT Template:Code

Template:Redr. <at>: block_pos

Specifies the position to force the spawn attempt on.
{{#vardefine:onlyje|}}{{#vardefine:onlybe| Template:IN,}}{{#vardefine:je-arg|block_pos}}{{#vardefine:be-arg|}}Template:Error{{#vardefine:onlyje|}}{{#vardefine:onlybe|}}{{#vardefine:je-arg|}}{{#vardefine:be-arg|}}

Result

Template:Result table Template:Result table Template:Result table Template:Result table

Output

{{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-table-lines|-2}}{{#vardefine:output-table-lines-now|}}{{#vardefine:command-num-now|}}{{#vardefine:command-line-now|}}{{#vardefine:commands-num|}}{{#vardefine:output-edition-num-now|}}{{#vardefine:output-edition-line-now|}}{{#vardefine:output-editions-num|}}{{#vardefine:je-outputs-dis|}}

{{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:situation-{{#var:output-table-lines}}|On success}}{{#vardefine:output1-{{#var:output-table-lines}}|1}}{{#vardefine:output2-{{#var:output-table-lines}}|1}}{{#vardefine:output3-{{#var:output-table-lines}}|1}}{{#vardefine:command-row-{{#var:commands-num}}|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-editions-num|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-edition-{{#var:output-editions-num}}|je}}{{#vardefine:output-edition-row-{{#var:output-editions-num}}|1}}

{{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-table-lines|-2}}{{#vardefine:output-table-lines-now|}}{{#vardefine:command-num-now|}}{{#vardefine:command-line-now|}}{{#vardefine:commands-num|}}{{#vardefine:output-edition-num-now|}}{{#vardefine:output-edition-line-now|}}{{#vardefine:output-editions-num|}}{{#vardefine:je-outputs-dis|}}

History

Template:HistoryTable

Navigation

All editions
Removed
Template:El only
Debug
Removed
Template:Els only
Template:El only
Removed
Template:El only
Removed
Template:Els only
Removed
Joke
Related

de:Befehl/debugmobspawning zh:命令/debugmobspawning