外观
digging API
模块说明
text
One ordinary block per cancellable operation; no automatic tool selection.BlockDigging
python
class BlockDiggingBlockDigging.__init__
python
def __init__(self, operations)BlockDigging.prepare
python
def prepare(
self,
*,
position,
face,
duration_ms,
held_item,
expected_block,
idempotency_key,
deadline,
)SDK 说明:
text
Prepare a 50..10000 ms attempt using a fresh native hotbar reference.
Completion requires a fresh air readback; it does not prove drops or
ownership. Cancel the submitted Operations handle to request abort.
Keep unknown outcomes under the original key; never automatically retry.