Package com. github. syari. spigot. api. item
Functions
addAttributeModifier
Link copied to clipboard
fun ItemStack.addAttributeModifier(attribute: Attribute, modifier: AttributeModifier): Boolean
Content copied to clipboard
addEnchant
Link copied to clipboard
fun ItemStack.addEnchant(enchant: Enchantment, level: Int, ignoreLevelRestriction: Boolean = true)
Content copied to clipboard
addItemFlags
Link copied to clipboard
editItemMeta
Link copied to clipboard
editLore
Link copied to clipboard
getAttributeModifiers
Link copied to clipboard
fun ItemStack.getAttributeModifiers(attribute: Attribute): Collection<AttributeModifier>
Content copied to clipboard
fun ItemStack.getAttributeModifiers(slot: EquipmentSlot): Multimap<Attribute, AttributeModifier>
Content copied to clipboard
getEnchantLevel
Link copied to clipboard
hasAttributeModifiers
Link copied to clipboard
hasConflictingEnchant
Link copied to clipboard
hasCustomModelData
Link copied to clipboard
hasDisplayName
Link copied to clipboard
hasEnchant
Link copied to clipboard
hasEnchants
Link copied to clipboard
hasItemFlag
Link copied to clipboard
itemStack
Link copied to clipboard
removeAttributeModifier
Link copied to clipboard
fun ItemStack.removeAttributeModifier(attribute: Attribute, modifier: AttributeModifier): Boolean
Content copied to clipboard
removeEnchant
Link copied to clipboard
removeItemFlags
Link copied to clipboard
Properties
attributeModifiers
Link copied to clipboard
customModelData
Link copied to clipboard
カスタムモデルデータ。取得する時は hasCustomModelData が真である場合でのみにする。
displayName
Link copied to clipboard
表示名。取得する時は hasDisplayName が真である場合のみにする。
isUnbreakable
Link copied to clipboard