Item Stack Enchant Response
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.
Constructors
Link copied to clipboard
constructor(type: ItemStackEnchantResponseType, enchantmentKey: NamespacedKey, level: Int, resultItem: ItemStack)