Joined List
Read-only list view that interleaves separator between the elements of source, i.e. iterating yields source[0], separator, source[1], separator, source[2], ....
Changes to the original list are reflected in this view.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Creates a ZIP file from multiple files
Link copied to clipboard
fun <T : ItemSlot> Iterable<T>.findBestToolToMineBlock(blockState: BlockState, ignoreDurability: Boolean = true, predicate: BiPredicate<ItemStack, BlockState> = BiPredicate { _, _ -> true }): T?
Finds the best slot in this iterable for mining blockState using mc.player as baseline.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Joins a list of Component into a single Component with the given separator.
fun <T> Collection<T>.joinToText(separator: Component, prefix: Component? = null, postfix: Component? = null, transform: Function<in T, out Component>): Component
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Iterable<ItemSlot>.mergeableCapacityFor(itemStack: ItemStack, blacklist: Collection<ItemSlot>? = null): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T, K : Comparable<K>> MutableList<T>.sortedInsert(item: T, crossinline selector: (T) -> K?)
Inserts a new element into a sorted list while maintaining the order.
Link copied to clipboard
Link copied to clipboard