ActionFlow-zh Help

簡易儲存

這個動作(Action)會將指定的方塊儲存到容器中。

組成

一個動作(Action)基本上由兩個主要組件組成:

類型(type)

simpleDigger

數據(data)

參見 簡易儲存數據

簡易儲存數據(SimpleStoreData)

Parameter

Type

Required

Default

Description

box

盒子陣列

-

要儲存的方塊。

empty_slot_threshold

數字

0

開始儲存方塊的閾值。

can_move

布林值

false

機器人在儲存時是否可以移動。

盒子(Box)

儲存的方塊。

Parameter

Type

Required

Default

Description

item_id

物品 ID

-

要儲存的物品 ID。

pos

位置

-

要儲存的方塊的位置。

示例

[ { "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