# awaitAnvilInput

fun Player.awaitAnvilInput(invTitle: String = "Type your input!", startText: String = "RENAME ME", renameItemDescription: List<String> = listOf( "Rename this item to", "submit your input!" ), timeoutSeconds: Int = 1 * 60, callback: (PlayerInputResult<String>) -> Unit)
Content copied to clipboard

Opens an anvil GUI and uses the new name of the renamed item as the players' input.