Prefer Average Hard Blocks
We want to place average hard blocks such as stone or wood. We don't want to use obsidian or leaves first (high/low hardness).
Parameters
neutral Range
if enabled, there is a range of hardness values which are accepted as good. If disabled we prefer the closest to the ideal hardness value.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun <U : Comparable<in U?>?> thenComparing(keyExtractor: Function<in ItemStack?, out U?>?): Comparator<ItemStack?>?
open fun <U : Any?> thenComparing(keyExtractor: Function<in ItemStack?, out U?>?, keyComparator: Comparator<in U?>?): Comparator<ItemStack?>?
Link copied to clipboard
open fun thenComparingDouble(keyExtractor: ToDoubleFunction<in ItemStack?>?): Comparator<ItemStack?>?
Link copied to clipboard
Link copied to clipboard