Minecraft:Commands/placefeature: Difference between revisions
From SAS Gaming Wiki
More actions
imported>RedX Removing link parameter which is a redirect |
Remove broken links to missing pages |
||
| 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= | |others=Cheats only{{only|bedrock|short=1}} | ||
}} | }} | ||
| Line 22: | Line 22: | ||
{{el|je|short=1}}: {{argument|feature|resource}}<br> | {{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}} | {{el|be|short=1}}: {{argument|be=1|featureName: Features|enum}} or {{argument|be=1|featureRule: featureRules|enum}} | ||
:{{IN|java}}, specifies the | :{{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. | :{{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. | ||
| Line 52: | Line 52: | ||
|{{HistoryLine|java}} | |{{HistoryLine|java}} | ||
|{{HistoryLine||1.18.2|dev=22w03a|Added {{cmd|placefeature|link=none}}.}} | |{{HistoryLine||1.18.2|dev=22w03a|Added {{cmd|placefeature|link=none}}.}} | ||
|{{HistoryLine|||dev=1.18.2-pre3|Changed from {{cd|resource_location}} to {{cd|resource}} | |{{HistoryLine|||dev=1.18.2-pre3|Changed from {{cd|resource_location}} to {{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|{{cmd|placefeature|link=none}} has been replaced with {{cmd|place}}.}} | ||
}} | }} | ||
| Line 69: | Line 69: | ||
{{Navbox commands}} | {{Navbox commands}} | ||
de:Befehl/placefeature | |||
ja:コマンド/placefeature | |||
pt:Comandos/placefeature | |||
zh:命令/placefeature | |||
Revision as of 15:44, 9 April 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 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
de:Befehl/placefeature ja:コマンド/placefeature pt:Comandos/placefeature zh:命令/placefeature