Update 1-JSON组件.md
This commit is contained in:
@@ -38,7 +38,8 @@ time: 分钟
|
||||
| ----------------------- | ---- | ------ | ------------------------------------------------------------ |
|
||||
| identifier | str | | 包括命名空间及物品名。需要全局唯一。建议使用mod名称作为命名空间 |
|
||||
| register_to_create_menu | bool | false | 是否注册到创造栏 |
|
||||
| category | str | Nature | 注册到创造栏的分类,可选的值有:<br/>Construction<br/>Nature<br/>Equipment<br/>Items |
|
||||
| category | str | Nature | 注册到创造栏的分类,可选的值有:<br/>Construction<br/>Nature<br/>Equipment<br/>Items<br/>None |
|
||||
| base_block | str | | 继承的特殊方块类型,可选的值有:<br/>mob_spawner 自定义刷怪箱<br/>portal 自定义传送门<br/>custom_crop_block 自定义农作物<br/>custom_heavy_block 自定义重力方块<br/>liquid 自定义静态流体方块<br/>flowing_liquid 自定义动态流体方块<br/>netease_container 自定义容器 |
|
||||
|
||||
## components
|
||||
|
||||
@@ -121,7 +122,7 @@ time: 分钟
|
||||
|
||||
### minecraft:destructible_by_explosion
|
||||
|
||||
可用于控制挖掘所需的时间。该值的含义与[官方wiki](https://minecraft-zh.gamepedia.com/%E6%8C%96%E6%8E%98#.E6.96.B9.E5.9D.97.E7.A1.AC.E5.BA.A6)的“硬度”一致
|
||||
可用于控制爆炸抗性。原版方块的爆炸抗性见[官方wiki](https://minecraft-zh.gamepedia.com/%E7%88%86%E7%82%B8#.E7.88.86.E7.82.B8.E6.8A.97.E6.80.A7)
|
||||
|
||||
- 如果设置为 `true`,方块会采用默认的爆炸抗性。
|
||||
- 如果设置为 `false`,方块将不可被爆炸破坏。
|
||||
@@ -212,6 +213,7 @@ time: 分钟
|
||||
| value | bool | | 必须设置,用于设置无法摆放在水源和流水方块中 |
|
||||
|
||||
- 可以在方块的loottable中设置被水流摧毁后的掉落物
|
||||
- 当**base_block**字段为**custom_crop_block**的时候,会自动注册此组件,无需再次注册。
|
||||
|
||||
|
||||
|
||||
@@ -330,9 +332,9 @@ time: 分钟
|
||||
|
||||
主要用于[多面向](./2-功能.md#duomianxiang)的功能
|
||||
|
||||
| 键 | 类型 | 默认值 | 解释 |
|
||||
| ---- | ------ | ------ | ----------------------------------------------------- |
|
||||
| type | string | | direction:四面向方块facing_direction:六面向方块 |
|
||||
| 键 | 类型 | 默认值 | 解释 |
|
||||
| ---- | ------ | ------ | --------------------------------------------------- |
|
||||
| type | string | | direction:四面向方块,facing_direction:六面向方块 |
|
||||
|
||||
<span id="netease:fuel "></span>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user