- 致编者:请牢记我们的域名wiki.mcbe-dev.net!
- 致编者:欢迎加入本Wiki的官方交流QQ群或Discord服务器!
- 基岩版1.19.31现已发布!(了解更多)
- Inner Core现已支持Xbox模组联机!(了解更多)
- 如果您是第一次来到本Wiki,欢迎注册一个账户
- 点击顶部的“编辑”或“编辑源代码”按钮即可编辑当前页面
- 请知悉:在不登录时也可以编辑和新建页面,但是您当前的IP地址会记录在编辑历史中
Manual:Minecraft:single block feature:修订间差异
来自Minecraft基岩版开发Wiki
添加的内容 删除的内容
(创建页面,内容为“{{lowercase c|minecraft:single_block_feature|minecraft:single_block_feature}}{{infobox schema | title = minecraft:single_block_feature | image = single_block_feature.png | domain = features | type = 单方块地物 | format-version = | added = ? }} 用于放置一个方块。 ==语法== <syntaxhighlight lang="json" start="0"> </syntaxhighlight> ==结构== <div class="treeview"> *{{json|obj|minecraft:single_block_feature}}:根对象。 **{{json|obj|descriptio…”) 标签:移动版编辑 移动版网页编辑 高级移动版编辑 |
小无编辑摘要 |
||
第21行: | 第21行: | ||
<syntaxhighlight lang="json" line="1"> |
<syntaxhighlight lang="json" line="1"> |
||
{ |
{ |
||
"format_version": 1.13.0, |
"format_version": "1.13.0", |
||
"minecraft:single_block_feature": { |
"minecraft:single_block_feature": { |
||
"description": { |
"description": { |
2022年8月14日 (日) 14:09的版本
用于放置一个方块。
语法
结构
- minecraft:single_block_feature:根对象。
- *description:描述。
- *identifier:设置此地物的赋命名空间标识符,其标识符必须与文件名匹配。
- *description:描述。
示例
下面的示例将放置一个南瓜。
{
"format_version": "1.13.0",
"minecraft:single_block_feature": {
"description": {
"identifier": "example:single_pumpkin_feature"
},
"places_block": "example:pumpkin",
"enforce_placement_rules": true,
"enforce_survivability_rules": true,
"may_place_on": [
"example:grass"
],
"may_replace": [
"example:air"
]
}
}
历史
基岩版 | |||||
---|---|---|---|---|---|
? | ? | 加入了minecraft:single_block_feature。 |