簡易取物
這個動作(Action)會在指定的位置取物。
組成
一個動作(Action)基本上由兩個主要組件組成:
- 類型(type)
simpleTake- 數據(data)
參見 簡易取物數據
簡易取物數據(SimpleTakeData)
Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
box | 是 | - | 要取的方塊。 | |
can_move | 布林值 | 否 | false | 機器人在儲存時是否可以移動。 |
盒子(Box)
取的方塊。
示例
[
{
"type": "simpleTake",
"data": {
"box": [
{
"item_id": "netherrack",
"pos": {
"x": 1,
"y": 1,
"z": 1
},
"min_threshold": 1,
"max_threshold": 10
}
],
"can_move": false
}
}
]
Last modified: 12 11月 2023