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

An indentation and tree formatter utility class.

Properties

Link copied to clipboard

Returns the current interaction data.

Link copied to clipboard

Log key to tell OptiGUI about the container being loaded from a resource.

Link copied to clipboard

Log key to tell OptiGUI about the resource being loaded.

Link copied to clipboard
const val MOD_ID: String

OptiGUI mod ID.

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

Root folder to look for OptiGUI custom GUI ini resources.

Inherited properties

Link copied to clipboard

Finds the ID of the given block in the registry.

Finds the ID of the given entity in the registry.

Finds the ID of the given item in the registry.

Link copied to clipboard

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

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

Functions

Link copied to clipboard

Creates an OptiGUI INI from the current interaction data.

Link copied to clipboard

Forces the texture replacer to re-evaluate the filters. Call this after modifying Interaction.Data.extra if the current screen pauses the game in single player.

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

Resolves the absolute path of the given resource to resolve.

Inherited functions

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

Finds the biome ID at the given world position.