Class AutoMineHelper

java.lang.Object
dev.boze.api.client.module.helper.AutoMineHelper

public class AutoMineHelper extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    addTask(net.minecraft.util.math.BlockPos pos)
    Adds a mining task to AutoMine using default settings.
    static boolean
    addTask(net.minecraft.util.math.BlockPos pos, boolean rayCast)
    Adds a mining task to AutoMine with custom rayCast setting.
    static boolean
    addTask(net.minecraft.util.math.BlockPos pos, boolean rayCast, double range)
    Adds a mining task to AutoMine with custom rayCast and range settings.
    static boolean
    addTask(net.minecraft.util.math.BlockPos pos, double range)
    Adds a mining task to AutoMine with custom range setting.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AutoMineHelper

      public AutoMineHelper()
  • Method Details

    • addTask

      public static boolean addTask(net.minecraft.util.math.BlockPos pos)
      Adds a mining task to AutoMine using default settings. Uses rayCast=false and player's block interaction range.
      Parameters:
      pos - The block position to mine
      Returns:
      true if the task was successfully added
    • addTask

      public static boolean addTask(net.minecraft.util.math.BlockPos pos, boolean rayCast)
      Adds a mining task to AutoMine with custom rayCast setting. Uses player's block interaction range.
      Parameters:
      pos - The block position to mine
      rayCast - Whether to raycast through walls
      Returns:
      true if the task was successfully added
    • addTask

      public static boolean addTask(net.minecraft.util.math.BlockPos pos, double range)
      Adds a mining task to AutoMine with custom range setting. Uses rayCast=false by default.
      Parameters:
      pos - The block position to mine
      range - The maximum mining range
      Returns:
      true if the task was successfully added
    • addTask

      public static boolean addTask(net.minecraft.util.math.BlockPos pos, boolean rayCast, double range)
      Adds a mining task to AutoMine with custom rayCast and range settings.
      Parameters:
      pos - The block position to mine
      rayCast - Whether to raycast through walls
      range - The maximum mining range
      Returns:
      true if the task was successfully added