Minecraft:Commands/debugmobspawning: Difference between revisions
More actions
imported>Nethonos de-interwiki |
Fix template calls: add MC/ prefix |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{MC/Distinguish|Commands/debugconfig|Commands/debugpath}} | ||
{{ | {{MC/Exclusive|java}} | ||
{{ | {{MC/Debug warning}} | ||
{{Infobox command | {{Infobox command | ||
| name = debugmobspawning | | name = debugmobspawning | ||
| oplevel = 2 | | oplevel = 2 | ||
| others = <code>-DMC_DEBUG_DEV_COMMANDS</code> | | others = <code>-DMC_DEBUG_DEV_COMMANDS</code> debug property | ||
}} | }} | ||
'''/debugmobspawning''' is a command that can be enabled with the | '''/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 == | ||
{{ | {{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 {{ | : 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}}. | ||
{{ | {{MC/Argument|at|block_pos}} | ||
: Specifies the position to force the spawn attempt on. | : Specifies the position to force the spawn attempt on. | ||
: {{ | : {{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 | |{{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}} | ||
de:Befehl/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
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
Template:Redr, or
- 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
de:Befehl/debugmobspawning zh:命令/debugmobspawning