Class AutoCrystalHelper
java.lang.Object
dev.boze.api.client.module.helper.AutoCrystalHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic floatGets the time in milliseconds that the attack cycle takes.static floatgetCPS()Gets the current crystals per second (CPS) rate of AutoCrystal.static doubleGets the current damage that AutoCrystal is dealing to its target.static floatGets the time in milliseconds that the main cycle (break + place) takes.static net.minecraft.util.math.BlockPosgetPos()Gets the current position that AutoCrystal is placing at.static net.minecraft.entity.LivingEntityGets the current target that AutoCrystal is attacking.
-
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
-