ModifyItem

object ModifyItem

Functions

Link copied to clipboard
fun addLore(item: ItemStack, lore: List<String>): ItemStack

Add lore to item

Link copied to clipboard
fun applyHead(p: LivingEntity, item: ItemStack)

Set player's head to any itemstack

Link copied to clipboard
fun extractItemPersistent(item: ItemStack): String
Link copied to clipboard
fun genItem(item: ItemStack, name: String? = null, lore: List<String>? = null): ItemStack

Generate item based on given parameters

Link copied to clipboard
fun importItemPersistent(item: ItemStack, hex: String): ItemStack
Link copied to clipboard
fun renameItem(item: ItemStack, name: String): ItemStack

Rename item

Link copied to clipboard
fun setLore(item: ItemStack, lore: List<String>): ItemStack

Set lore to item