Inventory Constraints
Constraints for inventory actions. This can be used to ensure that the player is not moving or rotating while interacting with the inventory. It Also allows setting delays for opening, clicking and closing the inventory.
Inheritors
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
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
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
Whether the constraints are met, this will be checked before any inventory actions are performed.
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
fun <C : SequencedSet<SoundEvent>> sounds(name: String, default: C): RegistryListValue<C, SoundEvent>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Walks the path of the ValueGroup and its children