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/placefeature: Difference between revisions

From SAS Gaming Wiki
imported>RedX
Removing link parameter which is a redirect
 
SyncBot (talk | contribs)
Fix template calls: add MC/ prefix
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
* 2 {{only|java|short=1}}
* 2 {{only|java|short=1}}
* 1 {{only|bedrock|short=1}}
* 1 {{only|bedrock|short=1}}
|others=[[Minecraft:Cheats]] only{{only|bedrock|short=1}}
|others=Cheats only{{only|bedrock|short=1}}
}}
}}


Line 20: Line 20:


== Arguments ==
== Arguments ==
{{el|je|short=1}}: {{argument|feature|resource}}<br>
{{MC/El|je|short=1}}: {{MC/Argument|feature|resource}}<br>
{{el|be|short=1}}: {{argument|be=1|featureName: Features|enum}} or {{argument|be=1|featureRule: featureRules|enum}}
{{MC/El|be|short=1}}: {{MC/Argument|be=1|featureName: Features|enum}} or {{MC/Argument|be=1|featureRule: featureRules|enum}}
:{{IN|java}}, specifies the [[Minecraft:Custom feature|configured feature]] to place. Must be a [[Minecraft:resource location]].
:{{MC/In|java}}, specifies the configured feature to place. Must be a resource location.
:{{IN|bedrock}}, specifies the feature to place. Must be an namespaced ID of a feature rule or feature. If both a feature rule with the specified ID and a feature with the ID exist, the feature rule is placed.
:{{MC/In|bedrock}}, specifies the feature to place. Must be an namespaced ID of a feature rule or feature. If both a feature rule with the specified ID and a feature with the ID exist, the feature rule is placed.
:See [[Minecraft:feature]] for IDs of vanilla features.
:See [[Minecraft:feature]] for IDs of vanilla features.


{{argument|pos|block_pos|position|CommandPosition}}
{{MC/Argument|pos|block_pos|position|CommandPosition}}
:Specifies the position of the origin for the feature to be placed.
:Specifies the position of the origin for the feature to be placed.
:{{arg desc|je=block_pos|be=CommandPosition}}
:{{MC/Arg desc|je=block_pos|be=CommandPosition}}


== Result ==
== Result ==
Line 40: Line 40:


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


== History ==
== History ==
=== ''Java Edition'' ===
=== ''Java Edition'' ===
{{HistoryTable
{{HistoryTable
|{{HistoryLine|java}}
|{{MC/HistoryLine|java}}
|{{HistoryLine||1.18.2|dev=22w03a|Added {{cmd|placefeature|link=none}}.}}
|{{HistoryLine||1.18.2|dev=22w03a|Added {{MC/Cmd|placefeature|link=none}}.}}
|{{HistoryLine|||dev=1.18.2-pre3|Changed from {{cd|resource_location}} to {{cd|resource}} [[Minecraft:argument type]] for the feature argument.}}
|{{HistoryLine|||dev=1.18.2-pre3|Changed from {{MC/Cd|resource_location}} to {{MC/Cd|resource}} argument type for the feature argument.}}
|{{HistoryLine||1.19|dev=22w18a|{{cmd|placefeature|link=none}} has been replaced with {{cmd|place}}.}}
|{{HistoryLine||1.19|dev=22w18a|{{MC/Cmd|placefeature|link=none}} has been replaced with {{MC/Cmd|place}}.}}
}}
}}


=== ''Bedrock Edition'' ===
=== ''Bedrock Edition'' ===
{{HistoryTable
{{HistoryTable
|{{HistoryLine|bedrock}}
|{{MC/HistoryLine|bedrock}}
|{{HistoryLine||1.18.30|dev=beta 1.18.20.25|Added {{cmd|placefeature|link=none}}. The command has not been fully implemented.<ref>{{tweet|MattGartzke|1491601001618366467|@MCPE4theBeacon Not quite ready for full implementation. You might see it go away in the next beta, but the team is still working hard on it!}}</ref>}}
|{{HistoryLine||1.18.30|dev=beta 1.18.20.25|Added {{MC/Cmd|placefeature|link=none}}. The command has not been fully implemented.<ref>{{tweet|MattGartzke|1491601001618366467|@MCPE4theBeacon Not quite ready for full implementation. You might see it go away in the next beta, but the team is still working hard on it!}}</ref>}}
|{{HistoryLine|||dev=Preview 1.18.20.28|Removed {{cmd|placefeature|link=none}}.}}
|{{HistoryLine|||dev=Preview 1.18.20.28|Removed {{MC/Cmd|placefeature|link=none}}.}}
}}
}}


== References ==
== References ==
{{Reflist}}
{{MC/Reflist}}


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


[[Minecraft:de:Befehl/placefeature]]
de:Befehl/placefeature
[[Minecraft:ja:コマンド/placefeature]]
ja:コマンド/placefeature
[[Minecraft:pt:Comandos/placefeature]]
pt:Comandos/placefeature
[[Minecraft:zh:命令/placefeature]]
zh:命令/placefeature

Latest revision as of 20:12, 9 April 2026

Template:Outdated feature

Template:Infobox command

Places a Minecraft:feature at the specified location where meet the placement requirements.

Syntax

  • Java Edition
placefeature <feature> [<pos>]
  • Bedrock Edition
placefeature <featureName: Features> [position: x y z]
placefeature <featureRule: featureRules> [position: x y z]

Arguments

  1. REDIRECT Template:Edition

Template:Rcat: <feature>: resource

  1. REDIRECT Template:Edition

Template:Rcat: featureName: Features: enum or featureRule: featureRules: enum

in Template:Editions, specifies the configured feature to place. Must be a resource location.
in Template:Editions, specifies the feature to place. Must be an namespaced ID of a feature rule or feature. If both a feature rule with the specified ID and a feature with the ID exist, the feature rule is placed.
See Minecraft:feature for IDs of vanilla features.

Template:El<pos>: block_pos
Template:El: position: CommandPosition

Specifies the position of the origin for the feature to be placed.
{{#vardefine:onlyje|Template:IN,}}{{#vardefine:onlybe| Template:IN,}}{{#vardefine:je-arg|block_pos}}{{#vardefine:be-arg|block_pos}}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 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 fail}}{{#vardefine:output1-{{#var:output-table-lines}}|0}}{{#vardefine:output2-{{#var:output-table-lines}}|0}}{{#vardefine:output3-{{#var:output-table-lines}}|0}}{{#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: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-edition-row-{{#var:output-editions-num}}|Expression error: Unrecognized punctuation character "{".}} {{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:situation-{{#var:output-table-lines}}|On fail}}{{#vardefine:output1-{{#var:output-table-lines}}|0}}{{#vardefine:output2-{{#var:output-table-lines}}|N/A}}{{#vardefine:output3-{{#var:output-table-lines}}|N/A}}{{#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}}|be}}{{#vardefine:output-edition-row-{{#var:output-editions-num}}|1}} {{#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}}|N/A}}{{#vardefine:output3-{{#var:output-table-lines}}|N/A}}{{#vardefine:command-row-{{#var:commands-num}}|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-edition-row-{{#var:output-editions-num}}|Expression error: Unrecognized punctuation character "{".}}

{{#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

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

References

<references group="">

 </references>

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/placefeature ja:コマンド/placefeature pt:Comandos/placefeature zh:命令/placefeature