Class AutoCrystalHelper

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

public class AutoCrystalHelper extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static float
    Gets the time in milliseconds that the attack cycle takes.
    static float
    Gets the current crystals per second (CPS) rate of AutoCrystal.
    static double
    Gets the current damage that AutoCrystal is dealing to its target.
    static float
    Gets the time in milliseconds that the main cycle (break + place) takes.
    static net.minecraft.util.math.BlockPos
    Gets the current position that AutoCrystal is placing at.
    static net.minecraft.entity.LivingEntity
    Gets the current target that AutoCrystal is attacking.

    Methods inherited from class java.lang.Object

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

    • AutoCrystalHelper

      public AutoCrystalHelper()
  • Method Details

    • getPos

      public static net.minecraft.util.math.BlockPos getPos()
      Gets the current position that AutoCrystal is placing at.
      Returns:
      The current place position, or null if no place
    • getTarget

      public static net.minecraft.entity.LivingEntity getTarget()
      Gets the current target that AutoCrystal is attacking.
      Returns:
      The current target entity, or null if no target
    • getDamage

      public static double getDamage()
      Gets the current damage that AutoCrystal is dealing to its target.
      Returns:
      The current damage value
    • getCPS

      public static float getCPS()
      Gets the current crystals per second (CPS) rate of AutoCrystal.
      Returns:
      The CPS value
    • getMainCycleMs

      public static float getMainCycleMs()
      Gets the time in milliseconds that the main cycle (break + place) takes.
      Returns:
      The main cycle time in milliseconds
    • getAttackCycleMs

      public static float getAttackCycleMs()
      Gets the time in milliseconds that the attack cycle takes.
      Returns:
      The attack cycle time in milliseconds