ActionFlow-zh Help

簡易取物

這個動作(Action)會在指定的位置取物。

組成

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

類型(type)

simpleTake

數據(data)

參見 簡易取物數據

簡易取物數據(SimpleTakeData)

Parameter

Type

Required

Default

Description

box

盒子陣列

-

要取的方塊。

can_move

布林值

false

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

盒子(Box)

取的方塊。

Parameter

Type

Required

Default

Description

item_id

物品 ID

-

要取的物品 ID。

pos

位置

-

方塊的位置。

min_threshold

數字

0

開始取物的閾值。

max_threshold

數字

0

結束取物的閾值。

示例

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