Minecraft:Commands/placefeature: Difference between revisions
From SAS Gaming Wiki
More actions
Fix template calls: add MC/ prefix |
Sync: updated from Minecraft |
||
| 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=Cheats only{{only|bedrock|short=1}} | |others=[[Minecraft:Cheats]] only{{only|bedrock|short=1}} | ||
}} | }} | ||
| Line 20: | Line 20: | ||
== Arguments == | == Arguments == | ||
{{ | {{el|je|short=1}}: {{argument|feature|resource}}<br> | ||
{{ | {{el|be|short=1}}: {{argument|be=1|featureName: Features|enum}} or {{argument|be=1|featureRule: featureRules|enum}} | ||
:{{ | :{{IN|java}}, specifies the [[Minecraft:Custom feature|configured feature]] to place. Must be a [[Minecraft: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. | ||
:See [[Minecraft:feature]] for IDs of vanilla features. | :See [[Minecraft:feature]] for IDs of vanilla features. | ||
{{ | {{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}} | ||
== Result == | == Result == | ||
| Line 40: | Line 40: | ||
== Output == | == Output == | ||
{{ | {{Output table}} | ||
{{ | {{Output table|edition=je|On fail|0|0|0}} | ||
{{ | {{Output table|On success|1|1|1}} | ||
{{ | {{Output table|edition=be|On fail|0}} | ||
{{ | {{Output table|On success|1}} | ||
{{ | {{Output table}} | ||
== History == | == History == | ||
=== ''Java Edition'' === | === ''Java Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{ | |{{HistoryLine|java}} | ||
|{{HistoryLine||1.18.2|dev=22w03a|Added {{ | |{{HistoryLine||1.18.2|dev=22w03a|Added {{cmd|placefeature|link=none}}.}} | ||
|{{HistoryLine|||dev=1.18.2-pre3|Changed from {{ | |{{HistoryLine|||dev=1.18.2-pre3|Changed from {{cd|resource_location}} to {{cd|resource}} [[Minecraft:argument type]] for the feature argument.}} | ||
|{{HistoryLine||1.19|dev=22w18a|{{ | |{{HistoryLine||1.19|dev=22w18a|{{cmd|placefeature|link=none}} has been replaced with {{cmd|place}}.}} | ||
}} | }} | ||
=== ''Bedrock Edition'' === | === ''Bedrock Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{ | |{{HistoryLine|bedrock}} | ||
|{{HistoryLine||1.18.30|dev=beta 1.18.20.25|Added {{ | |{{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|||dev=Preview 1.18.20.28|Removed {{ | |{{HistoryLine|||dev=Preview 1.18.20.28|Removed {{cmd|placefeature|link=none}}.}} | ||
}} | }} | ||
== References == | == References == | ||
{{ | {{Reflist}} | ||
== Navigation == | == Navigation == | ||
{{ | {{Navbox commands}} | ||
de:Befehl/placefeature | [[Minecraft:de:Befehl/placefeature]] | ||
ja:コマンド/placefeature | [[Minecraft:fr:Commandes/placefeature]] | ||
pt:Comandos/placefeature | [[Minecraft:ja:コマンド/placefeature]] | ||
zh:命令/placefeature | [[Minecraft:pt:Comandos/placefeature]] | ||
[[Minecraft:zh:命令/placefeature]] | |||
Latest revision as of 11:06, 18 June 2026
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
Template:El: Template:Argument
Template:El: Template:Argument or Template:Argument
- Template:IN, specifies the configured feature to place. Must be a Minecraft:resource location.
- Template:IN, 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.
- Specifies the position of the origin for the feature to be placed.
- Template:Arg desc
Result
Template:Result table Template:Result table Template:Result table 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
History
Java Edition
Bedrock Edition
References
Minecraft:de:Befehl/placefeature Minecraft:fr:Commandes/placefeature Minecraft:ja:コマンド/placefeature Minecraft:pt:Comandos/placefeature Minecraft:zh:命令/placefeature