Minecraft Wiki

除另有声明,转载时均必须注明出处若簡繁轉換出錯,請以遊戲內為準请勇于扩充与修正内容有兴趣逛逛我们的微博沟通交流,欢迎到社区专页需要协助,请在告示板留言

了解更多

Minecraft Wiki
Advertisement
Information icon
此特性为基岩版独有。
Ic translate
此条目的(部分)内容需要翻译。

你可以帮助我们来翻译此条目,但请勿使用机器翻译

参见:Bedrock Edition beta add-on documentation

This is the blocks documentation for Bedrock Edition 1.14.0.

这是基岩版1.14.0方块文档。

方块

minecraft:loot

Loot table component used to set what loot table is used when a block is destroyed.

类型 名称 Default Value Description
String table The path of the loot table that this component will use.

minecraft:destroy_time

The destroy time property for a block.

类型 名称 Default Value Description
Decimal value 0.0 Sets the destroy time property for the block. Greater numbers result in greater mining times.

minecraft:explosion_resistance

The explosion resistance property for a block.

类型 名称 Default Value Description
Decimal value 0.0 Sets the explosion resistance for this block.

minecraft:friction

Property describing the friction for this block. Friction effects an entities movements when it walks on the block.

类型 名称 Default Value Description
Decimal value 0.1 Sets the friction property for this block.

minecraft:flammable

Describes the flammable properties for this block.

类型 名称 Default Value Description
Integer flame_odds 0 How likely the block will catch flame when next to a fire.
Integer burn_odds 0 How likely the block will be destroyed by flames when on fire.

minecraft:map_color

Modifies the map color for a block.

类型 名称 Default Value Description
String color A color represented as a hex value. This will be the color rendered to a map.

minecraft:block_light_absorption

How a block absorbs light.

类型 名称 Default Value Description
Integer value 0 The amount of light this block will absorb. For ice blocks, this describes at what light level the ice will melt.

minecraft:block_light_emission

Makes the block emit light.

类型 名称 Default Value Description
Decimal emission 0.0 The amount of light this block will emit in a range [0.0, 1.0].

Block Definition Properties

These properties are part of the Block Definition. This helps the system determine how to parse and initialize this block.

类型 名称 Default Value Description
String format_version Specifies the version of the game this entity was made in. If the version is lower than the current version, any changes made to the entity in the vanilla version will be applied to it.
代码示例
Example
{
  "format_version": "1.10.0",
  "minecraft:block": {
   "components": {
      ...
    }
    ...
  }
}

Block Description Properties

Type Name Default Value Description
String identifier The identifier for this block. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla block.
Boolean register_to_creative_menu false Whether or not to register this block to the creative inventory menu.
Boolean is_experimental false If this block is experimental, it will only be registered if the world is marked as experimental.

See also

  • Add-on
  • Bedrock Edition add-on documentation
  • Bedrock Edition entity components documentation
  • Bedrock Edition entity events documentation
  • Bedrock Edition animation documentation
  • Bedrock Edition particle documentation
  • Bedrock Edition scripting documentation
  • Bedrock Edition MoLang documentation
  • Bedrock Edition UI documentation
  • Bedrock Edition schemas documentation
Advertisement