Package-level declarations

Types

Link copied to clipboard
@Since(version = "2.2")
data class ItemStackEnchantResponse(val type: ItemStackEnchantResponseType, val enchantmentKey: NamespacedKey, val level: Int, val resultItem: ItemStack) : Keyed

A wrapper for responses for when an item is requested to be enchanted. A response type is provided explaining the result of the enchantment process, along with the passed enchantment values of requested key and requested level, and the (potentially unmodified) result item.