ActionFlow Help

SimpleTake

This Action is designed for taking items from containers.

Makes Up

An Action is fundamentally made up of two main components:

type

simpleTake

data

see SimpleTakeData

SimpleTakeData

Parameter

Type

Required

Default

Description

box

Box array

true

-

The list of boxes to take.

can_move

boolean

false

false

Whether the bot can move while digging.

box

The block to take.

Parameter

Type

Required

Default

Description

item_id

Item ID

true

-

The item id of the item to take.

pos

Position

true

-

The position of the block to take.

min_threshold

number

false

0

The minimum threshold of the item to take.

max_threshold

number

false

0

The maximum threshold of the item to take.

Example

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