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

Default delimiters of lists in OptiGUI and OptiFine resources.

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 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
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.