Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
object Pools

Functions

Link copied to clipboard
fun <T : Any> Registry<T>.asComparator(): Comparator<T>
Link copied to clipboard
fun blockSortedSetOf(vararg blocks: Block): SortedSet<Block>
Link copied to clipboard
inline fun <T, R> List<T>.flatMapVirtual(transform: (T) -> List<R>): List<R>

Creates a virtual List represents the lists get from receiver with transform. It assumes all transformed list are immutable. Modify them leads to undefined behavior.

Link copied to clipboard
fun Filter.getSlot(blocks: Set<Block>, offhand: Boolean = true): HotbarItemSlot?
Link copied to clipboard
fun itemSortedSetOf(vararg items: Item): SortedSet<Item>