Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
This should only be used in render thread!
Link copied to clipboard
class JoinedList<T>(val source: List<T>, val separator: T) : AbstractObjectList<T> , RandomAccess

Read-only list view that interleaves separator between the elements of source, i.e. iterating yields source[0], separator, source[1], separator, source[2], ....

Link copied to clipboard
class LruCache<K, V>(maxSize: Int) : LinkedHashMap<K, V>
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
fun Filter.getSlot(blocks: Set<Block>, offhand: Boolean = true): HotbarItemSlot?
Link copied to clipboard
fun itemSortedSetOf(vararg items: Item): SortedSet<Item>