Module XRay
Properties
Stores the ValueGroup in which the ValueGroup is included, can be null.
If true, value will not be included in generated public config. Can be set using doNotIncludeWhen or doNotIncludeAlways.
Get the related CoroutineScope of receiver EventListener.
True when something outside LiquidBounce acts on bind, so the module manager leaves it alone.
Group for optional inclusion during configuration saving. Managed by AutoConfig.
If true, the description won't be bound to any net.ccbluex.liquidbounce.config.types.group.ValueGroup.
If true, value will always keep inner equals defaultValue.
If false, the value is neither written to nor read from config files, but still reaches the GUI. For values whose state lives elsewhere, such as another client's modules.
If true, value will not be included in generated RestAPI config.
Carries whether renderActive is true through a section build. Bound by the meshing mixins (MixinChunkBuilderMeshingTask, MixinSectionCompiler) around the whole build.
Hides the value from the GUI while false. Configs keep it either way.
Functions
Resets the block list to the default values
Checks if this value should be included in the public configuration based on its doNotInclude condition and inclusionGroup.
Children EventListener
Returns computed ReadWriteProperty based on the accumulator of specific event.
Deserialize value from JSON
Launches an async task on eventListenerScope when module is turned on.
For Java, which cannot call the reified overload.
Assigns the value of the settings to the component
Uses text instead of a translation key, for descriptions that come from outside LiquidBounce.
Keeps vanilla/Sodium face culling unless this is a whitelisted XRay block hidden behind another block.
For Java, which cannot call the reified overloads.
Calls handler for every type event while this listener is running. Higher priority runs first. Close the result to stop early; unregister does the same for all of them.
Will be called when the state is toggled off.
Called when the module is registered in the module manager.
task every game tick while this listener is running.
Parent EventListener
Allows dynamic groups to create their children before stored values are applied.
Remove cached scope and cancel it.
Whether XRay applies here: the value captured by a meshing scope, or the live state outside a build. Sodium's face checks read their per block cache; this serves the fallback, vanilla and light paths.
Registers an event hook for events of type T and launches a sequence
Checks if the block should be rendered or not. This can be used to exclude blocks that should not be rendered. Also features an option to only render blocks that are exposed to air.
Start a Job on event.
Registers a repeatable sequence which repeats the execution of code on GameTickEvent.
Unregisters the event handler from the manager. This decision is FINAL! After the class was unregistered we cannot restore the handlers.
Warns when no module description is set in the main translation file.
Walks the path of the ValueGroup and its children
Wrap the original interceptor and make it auto-detect the listener's running state at suspension to determine whether to resume the continuation.