Target Tracker
open class TargetTracker(defaultPriority: TargetPriority = TargetPriority.HEALTH, rangeValue: RangedValueProvider = NoneRangedValueProvider) : TargetSelector
A target tracker to choose the best enemy to attack
Inheritors
Constructors
Link copied to clipboard
constructor(defaultPriority: TargetPriority = TargetPriority.HEALTH, rangeValue: RangedValueProvider = NoneRangedValueProvider)
Properties
Link copied to clipboard
Stores the ValueGroup in which the ValueGroup is included, can be null.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
If true, value will not be included in generated public config
Link copied to clipboard
If true, the description won't be bound to any net.ccbluex.liquidbounce.config.types.group.ValueGroup.
Link copied to clipboard
If true, value will always keep inner equals defaultValue
Link copied to clipboard
If true, value will not be included in generated RestAPI config
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <C : SequencedSet<Identifier>> c2sPackets(name: String, default: C): RegistryListValue<C, Identifier>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Counts available targets.
Link copied to clipboard
fun curve(name: String, default: MutableList<Vector2f>, xAxis: CurveValue.Axis, yAxis: CurveValue.Axis, tension: Float = CurveValue.DEFAULT_TENSION): CurveValue
Link copied to clipboard
Deserialize value from JSON
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <C : SequencedSet<EntityType<*>>> entityTypes(name: String, default: C): RegistryListValue<C, EntityType<*>>
Link copied to clipboard
Link copied to clipboard
fun floatRange(name: String, default: ClosedFloatingPointRange<Float>, range: ClosedFloatingPointRange<Float>, suffix: String = "", aliases: List<String> = emptyList()): RangedValue<ClosedFloatingPointRange<Float>>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <C : SequencedSet<MobEffect>> mobEffects(name: String, default: C): RegistryListValue<C, MobEffect>
Link copied to clipboard
inline fun <T : Enum<T>, Tagged> multiEnumChoice(name: String, vararg default: T, canBeNone: Boolean = true): MultiChoiceListValue<T?>
inline fun <T : Enum<T>, Tagged> multiEnumChoice(name: String, default: Iterable<T>, canBeNone: Boolean = true): MultiChoiceListValue<T?>
inline fun <T : Enum<T>, Tagged> multiEnumChoice(name: String, default: EnumSet<T> = enumSetOf(), choices: EnumSet<T> = enumSetAllOf(), canBeNone: Boolean = true): MultiChoiceListValue<T?>
inline fun <T : Enum<T>, Tagged> multiEnumChoice(name: String, default: SequencedSet<T>, choices: EnumSet<T> = enumSetAllOf(), canBeNone: Boolean = true): MultiChoiceListValue<T?>
fun <T : Tagged> multiEnumChoice(name: String, default: MutableSet<T>, choices: Set<T>, canBeNone: Boolean, isOrderSensitive: Boolean): MultiChoiceListValue<T>
Link copied to clipboard
Link copied to clipboard
fun onChange(listener: ValueListener<MutableCollection<Value<*>>>): Value<MutableCollection<Value<*>>>
Link copied to clipboard
fun onChanged(listener: ValueChangedListener<MutableCollection<Value<*>>>): Value<MutableCollection<Value<*>>>
Link copied to clipboard
Link copied to clipboard
fun <C : SequencedSet<Identifier>> s2cPackets(name: String, default: C): RegistryListValue<C, Identifier>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <C : SequencedSet<SoundEvent>> sounds(name: String, default: C): RegistryListValue<C, SoundEvent>
Link copied to clipboard
Update should be called to always pick the best target out of the current world context
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Walks the path of the ValueGroup and its children