簡易儲存
這個動作(Action)會將指定的方塊儲存到容器中。
組成
一個動作(Action)基本上由兩個主要組件組成:
- 類型(type)
simpleDigger- 數據(data)
參見 簡易儲存數據
簡易儲存數據(SimpleStoreData)
Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
box | 是 | - | 要儲存的方塊。 | |
empty_slot_threshold | 數字 | 否 | 0 | 開始儲存方塊的閾值。 |
can_move | 布林值 | 否 | false | 機器人在儲存時是否可以移動。 |
盒子(Box)
儲存的方塊。
示例
[
{
"type": "simpleStore",
"data": {
"box": [
{
"item_id": "glow_lichen",
"pos": {
"x": 1,
"y": 1,
"z": 1
}
}
],
"empty_slot_threshold": 5,
"can_move": false
}
}
]
Last modified: 12 11月 2023