限定符和类型 | 方法和说明 |
---|---|
ItemStack |
getItem()
获取将被附魔的物品.
|
ItemStack |
getSecondary()
获取将被用于附魔的第二物品(如青金石).
|
void |
setItem(ItemStack item)
设置将被附魔的物品.
|
void |
setSecondary(ItemStack item)
设置将被用于附魔的第二物品(如青金石).
|
addItem, all, all, all, clear, clear, contains, contains, contains, contains, contains, contains, containsAtLeast, first, first, first, firstEmpty, getContents, getHolder, getItem, getLocation, getMaxStackSize, getName, getSize, getStorageContents, getTitle, getType, getViewers, iterator, iterator, remove, remove, remove, removeItem, setContents, setItem, setMaxStackSize, setStorageContents
void setItem(ItemStack item)
原文:Set the item being enchanted.
item
- 将被附魔的物品ItemStack getItem()
原文:Get the item being enchanted.
void setSecondary(ItemStack item)
原文: Set the secondary item being used for the enchant.
item
- 将被用于附魔的第二物品ItemStack getSecondary()
原文: Get the secondary item being used for the enchant.