Package noppes.npcs.api.item
Interface IItemLinked
-
- All Superinterfaces:
IItemCustomizable,IItemStack
public interface IItemLinked extends IItemCustomizable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ILinkedItemgetLinkedItem()voidsetDurabilityValue(float durabilityValue)Sets the current durability value for this linked item stack.-
Methods inherited from interface noppes.npcs.api.item.IItemCustomizable
getArmorType, getAttackSpeed, getColor, getDigSpeed, getDurabilityColor, getDurabilityShow, getDurabilityValue, getEnchantability, getFrameCount, getFrameTime, getItemUseAction, getMaxItemUseDuration, getMaxStackSize, getRotationX, getRotationXRate, getRotationY, getRotationYRate, getRotationZ, getRotationZRate, getScaleX, getScaleY, getScaleZ, getScriptHandler, getTexture, getTranslateX, getTranslateY, getTranslateZ, isNormalItem, isTextureAnimated, isTool, setColor, setDurabilityColor, setDurabilityShow, setFrameCount, setFrameTime, setRotation, setRotationRate, setScale, setTexture, setTextureAnimated, setTranslate
-
Methods inherited from interface noppes.npcs.api.item.IItemStack
addEnchant, compare, compare, copy, getAttribute, getBookAuthor, getBookText, getBookTitle, getCustomAttribute, getCustomAttributeKeys, getDisplayName, getItemDamage, getItemName, getItemNbt, getLore, getMagicAttribute, getMagicAttributeKeys, getMaxItemDamage, getMCItemStack, getMCNbt, getName, getNbt, getRequirement, getRequirementKeys, getStackSize, getTag, hasAttribute, hasCustomAttribute, hasCustomName, hasEnchant, hasLore, hasMagicAttribute, hasRequirement, hasTag, isBlock, isEnchanted, isWrittenBook, itemHash, removeCustomAttribute, removeMagicAttribute, removeRequirement, removeTags, setAttribute, setCustomAttribute, setCustomName, setItemDamage, setLore, setMagicAttribute, setMCNbt, setRequirement, setStackSize, setTag
-
-
-
-
Method Detail
-
getLinkedItem
ILinkedItem getLinkedItem()
-
setDurabilityValue
void setDurabilityValue(float durabilityValue)
Sets the current durability value for this linked item stack. This is a per-stack override, not changing the linked item template.- Parameters:
durabilityValue- The durability value
-
-