Package-level declarations

Types

Link copied to clipboard
sealed class NumberOrRange

Represents an integer, or a start- and stop-inclusive integer range.

Link copied to clipboard

Texture paths for Minecraft containers.

Link copied to clipboard

An indentation and tree formatter utility class.

Properties

Link copied to clipboard

Computes the comparator output of a lectern based on its screen.

Link copied to clipboard

Default delimiters of lists in OptiGUI and OptiFine resources.

Link copied to clipboard

Root folder to look for OptiFine custom GUI properties.

Link copied to clipboard

The resource path ~ points to in OptiFine.

Link copied to clipboard

Namespace to place OptiGUI ini files in.

Link copied to clipboard

Root folder to look for OptiGUI custom GUI ini resources.

Functions

Link copied to clipboard
inline fun buildString(builderAction: StringWriter.() -> Unit): String
Link copied to clipboard
operator fun Identifier.component1(): String

Identifier deconstruction helper, which returns the namespace.

Link copied to clipboard
operator fun Identifier.component2(): String

Identifier deconstruction helper, which returns the path.

Link copied to clipboard
fun Filter<*, *>.dump(): String

Formats a filter chain as a tree with ASCII characters, and returns the formatted string.

Link copied to clipboard

Computes the comparator output based on the screen's inventory.

Link copied to clipboard
fun Class<*>.isSuperOf(obj: Any): Boolean

Checks if the receiver of the function is a superclass or superinterface of obj.

Link copied to clipboard
fun resolvePath(pathToResolve: String, resource: Identifier, tildePath: String? = null): Identifier?

Resolves the absolute path of the given resource to resolve.

Link copied to clipboard
fun CharSequence.splitIgnoreEmpty(vararg delimiters: Char): List<String>

Splits a string at the given delimiters and returns every substring, which is not empty.

Link copied to clipboard

Trim parentheses from the start and end of a string.

Link copied to clipboard

If the current FilterResult is FilterResult.Match, change its result to the given one. Otherwise, return the original.