ActionFlow-zh Help

尋找

這個動作(Action)會尋找最近的指定方塊,並回傳其位置。

組成

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

類型(type)

search

數據(data)

參見 尋找數據

尋找數據(SearchData)

Parameter

Type

Required

Default

Description

target

方塊屬性

-

要尋找的方塊。

bound

範圍

-

尋找的範圍。

result_id

位置結果參考

-

尋找到的方塊的位置。

示例

[ { "type": "search", "data": { "target": { "name": "ice" }, "bound": [ { "x": 100, "y": 190, "z": 100 }, { "x": 200, "y": 190, "z": 200 } ], "result_id": "ice_pos" } } ]
Last modified: 12 11月 2023