showUsages

fun Player.showUsages(item: ItemStack): Boolean

Tries to open the recipe explorer for the usages of item, and returns whether the attempt was successful, i.e. if there were any usages for the item.


fun Player.showUsages(id: String): Boolean

Tries to open the recipe explorer for the usages for id, and returns whether the attempt was successful, i.e. if there were any usages for the item.