Package-level declarations

Types

Link copied to clipboard

A rotation manager

Link copied to clipboard
class EntityTag(val targetingInfo: EntityTargetingInfo, val color: Color4b?)
Link copied to clipboard
Link copied to clipboard
data class EntityTargetingInfo(val classification: EntityTargetClassification, val isFriend: Boolean)

Global target configurable

Link copied to clipboard
Link copied to clipboard

Configurable to configure which entities and their state (like being dead) should be considered as a target

Link copied to clipboard
open class TargetSelector(defaultPriority: TargetPriority = TargetPriority.HEALTH, rangeValue: RangedValueProvider = NoneRangedValueProvider) : ValueGroup
Link copied to clipboard
open class TargetTracker(defaultPriority: TargetPriority = TargetPriority.HEALTH, rangeValue: RangedValueProvider = NoneRangedValueProvider) : TargetSelector

A target tracker to choose the best enemy to attack

Functions

Link copied to clipboard
fun attackEntity(entity: Entity, swing: SwingMode, keepSprint: Boolean = false)
Link copied to clipboard
fun ClientLevel.findEnemies(range: ClosedFloatingPointRange<Float>, enemyConf: Set<Targets> = GlobalSettingsTarget.combat): List<ObjectDoublePair<Entity>>
Link copied to clipboard
fun ClientLevel.findEnemy(range: ClosedFloatingPointRange<Float>, enemyConf: Set<Targets> = GlobalSettingsTarget.combat): Entity?

Find the best enemy in the current world in a specific range.

Link copied to clipboard
inline fun ClientLevel.getEntitiesBoxInRange(midPos: Vec3, range: Double, crossinline predicate: (Entity) -> Boolean = { true }): MutableList<Entity>
Link copied to clipboard
fun ClientLevel.getEntitiesInCuboid(midPos: Vec3, range: Double, predicate: Predicate<Entity> = Predicate { true }): MutableList<Entity>
Link copied to clipboard
fun Entity?.shouldBeAttacked(enemyConf: Set<Targets> = GlobalSettingsTarget.combat): Boolean
Link copied to clipboard
fun Entity.shouldBeShown(enemyConf: Set<Targets> = GlobalSettingsTarget.visual): Boolean