Package-level declarations

Types

Link copied to clipboard
value class Callback(val chain: () -> Unit)
Link copied to clipboard
data class ConditionalCallback(val condition: () -> Boolean)
Link copied to clipboard
data class ConditionalValueCallback<V>(val producer: () -> V?)
Link copied to clipboard
object Debug
Link copied to clipboard
data class DeferredAction<T>(val self: T, val deferred: (T) -> Unit)
Link copied to clipboard
Link copied to clipboard
object Ensure

A checker object

Link copied to clipboard
class LazyVarargDelegate<V, O>(varargs: Array<out V>, mapping: (V) -> O)
Link copied to clipboard
class MutableButton<T : ForInventory>(var currentDisplay: ItemStack, val handler: (MutableButton<T>, GUIClickEvent<T>) -> ItemStack) : GUIElement<T>
Link copied to clipboard
class Result
Link copied to clipboard
data class SuspendConditionalCallback(val condition: suspend () -> Boolean)
Link copied to clipboard
class Ticker(val range: IntRange)

Functions

Link copied to clipboard
inline fun <T> collect(vararg iters: Iterable<T>): MutableList<T>
Link copied to clipboard
inline fun <T> T.defer(noinline action: T.() -> Unit): DeferredAction<T>
Link copied to clipboard
fun CompoundTag.getId(key: String): Identifier
Link copied to clipboard
fun id(path: String): Identifier
fun id(namespace: String, path: String): Identifier
Link copied to clipboard
inline fun <T : ForInventory> GUIPageBuilder<T>.mutableButton(slot: SingleInventorySlot<out T>, icon: ItemStack, noinline onClick: (MutableButton<T>, GUIClickEvent<T>) -> ItemStack)
Link copied to clipboard
fun CompoundTag.putId(key: String, id: Identifier): Tag?
Link copied to clipboard
fun <V> varargs(argv: Array<out V>): LazyVarargDelegate<V, V>
fun <V, O> varargs(argv: Array<out V>, mapping: (V) -> O): LazyVarargDelegate<V, O>

Properties

Link copied to clipboard
val ResourceLocation.macrocosm: Identifier
val NamespacedKey.macrocosm: Identifier