限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getRenameText()
获取要对于重命名的物品的字符串, 当返回空字符串时则表示是物品的默认名称
原文: Get the name to be applied to the repaired item.
|
int |
getRepairCost()
获取完成当前修复所需要的等级
原文: Get the experience cost (in levels) to complete the current repair.
|
void |
setRepairCost(int levels)
设置完成当前修复所需要的等级.
|
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
java.lang.String getRenameText()
原文: Get the name to be applied to the repaired item. An empty string denotes the default item name.
int getRepairCost()
原文: Get the experience cost (in levels) to complete the current repair.
void setRepairCost(int levels)
原文:Set the experience cost (in levels) to complete the current repair.
levels
- 给定的等级