Mining API
This page is generated from a recorded Java binding inventory. Supported means an official script uses the member; it does not mean the member has passed focused and live acceptance testing.
| Member | Stability | Verification | AI-runnable | Official use | Purpose |
|---|---|---|---|---|---|
aim_tick | Experimental | bound | No | No | Perform one frame of aiming toward async mining target. |
break_block | Experimental | bound | No | No | Break Block |
cancel_precomputation | Experimental | bound | No | No | Cancel any ongoing precomputation |
check_current_reach | Experimental | bound | No | No | Quick check if we can reach block now Returns vantage point info for current position, or nil if not reachable |
check_reach | Supported | bound | No | Yes | Pre-filter unreachable blocks before mining - Custom reach scoring algorithms - Cache reach data for batch optimization - Filter by score threshold (e.g., only mine blocks with score > 0.7). IMPORTANT: Results are from CURRENT player position - cache invalidates when player moves! |
end_session | Supported | bound | No | Yes | End multi-block mining session, release everything |
find_ground_vantage_points | Experimental | bound | No | No | Find GROUND-LEVEL positions for mining overhead blocks. Only returns positions at/below player Y that can jump-reach the target. |
find_immediate_target | Experimental | bound | No | No | Find Immediate Target |
find_nearest_reachable | Experimental | bound | No | No | Find Nearest Reachable |
find_vantage_points | Experimental | bound | No | No | Find positions to mine from Returns array of vantage points sorted by quality |
get_aim_point | Experimental | bound | No | No | Get optimal aim angles |
get_all_aim_points | Experimental | bound | No | No | Get all visible aim points on block Returns array of {x, y, z} for retry logic |
get_blocks_mined | Supported | bound | No | Yes | Get count of blocks mined in current loop |
get_crosshair_target | Experimental | bound | No | No | Get the block the crosshair is currently targeting Returns {x, y, z, side} table or nil if not targeting a block CRITICAL: |
get_distance | Experimental | bound | No | No | Get distance to block |
get_mining_progress | Experimental | bound | No | No | Get Mining Progress |
get_precomputed_target | Experimental | bound | No | No | Get and clear the precomputed next target Returns table with target info or nil if not ready |
get_smart_aim_point | Experimental | bound | No | No | Get best visible point on block Returns {x, y, z} aim coordinates (may be off-center!) or nil if no visible point |
has_line_of_sight | Supported | bound | No | Yes | Has Line Of Sight |
is_block_obstructed | Supported | bound | No | Yes | Is Block Obstructed |
is_block_reachable | Experimental | bound | No | No | Quick check if block can be reached from anywhere Returns true if at least one good vantage point exists |
is_breakable | Experimental | bound | No | No | Check if block can be broken |
is_entity_obstructing | Experimental | bound | No | No | Is Entity Obstructing |
is_loop_active | Experimental | bound | No | No | Check if mining loop is running |
is_mining | Experimental | bound | No | No | Check if currently mining |
is_mining_async | Experimental | bound | No | No | Check if async mining is active |
is_precomputing | Experimental | bound | No | No | Check if precomputation is running |
is_session_jump_active | Experimental | bound | No | No | Check if session jump is currently active |
is_targeting_block | Experimental | bound | No | No | Check if crosshair is targeting specific block Returns true if the crosshair is currently aimed at the specified block |
mine_block | Supported | bound | No | Yes | Mine Block |
mine_nearest | Supported | bound | No | Yes | Mine Nearest |
peek_precomputed_target | Experimental | bound | No | No | Peek at precomputed target without clearing Useful for visual highlighting of next target |
precompute_next_target | Experimental | bound | No | No | by the time you finish, the next target is ready. |
recalculate_aim | Experimental | bound | No | No | Re-run aim point calculation from current eye position |
select_target_smart | Experimental | bound | No | No | Select Target Smart |
set_session_jump | Supported | bound | No | Yes | Enable/disable continuous jump during mining session When enabled, jump is held across multiple mine_block calls until disabled or session ends |
start_loop | Experimental | bound | No | No | Start async mining loop |
start_mining_async | Experimental | bound | No | No | Start mining a block (non-blocking). Lua must poll aim_tick() and call stop_mining_async when done. |
start_mining_smart | Experimental | bound | No | No | Start async mining with smart aim Uses SmartAimPointFinder to target visible part of block Same as start_mining_async but auto-finds best aim point |
start_session | Supported | bound | No | Yes | Begin multi-block mining session |
stop | Experimental | bound | No | No | Stop current mining |
stop_loop | Experimental | bound | No | No | Stop async mining loop |
stop_mining_async | Supported | bound | No | Yes | Stop non-blocking mining |