InputUtils

object InputUtils

Functions

Link copied to clipboard
fun getDyeToggle(slot: Slot): Boolean?
Link copied to clipboard
fun getInlineKeyedLoreCycle(slot: Slot, key: String): String
Link copied to clipboard
suspend fun getItemFromMenu(displayName: String?, compareStack: ItemStack?, click: suspend () -> Unit): ItemStack
Link copied to clipboard
fun getKeyedCycle(slot: Slot): String
Link copied to clipboard
fun getKeyedLoreCycle(slot: Slot, key: String): String
Link copied to clipboard
fun getKeyedTitleCycle(slot: Slot, key: String): String
Link copied to clipboard
fun getLoreCycle(slot: Slot, possibleValues: List<String>): String
Link copied to clipboard
suspend fun getPreviousInput(click: suspend () -> Unit): String
Link copied to clipboard
suspend fun setDyeToggle(slot: Slot, newValue: Boolean?)
Link copied to clipboard
suspend fun setInlineKeyedLoreCycle(slot: Slot, key: String, newValue: String, button: Int = 0)
Link copied to clipboard
suspend fun setKeyedCycle(slot: Slot, value: String)
Link copied to clipboard
suspend fun setKeyedLoreCycle(slot: Slot, key: String, newValue: String, button: Int = 0)
Link copied to clipboard
suspend fun setKeyedTitleCycle(slot: Slot, key: String, value: String, confirm: Boolean = false)
Link copied to clipboard
suspend fun setLoreCycle(slot: Slot, possibleValues: List<String>, value: String, maxTries: Int = 10)
Link copied to clipboard
suspend fun textInput(message: String)