类 MendingEnchantment
java.lang.Object
net.minecraft.world.item.enchantment.Enchantment
net.minecraft.world.item.enchantment.MendingEnchantment
- 所有已实现的接口:
IForgeEnchantment
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.item.enchantment.Enchantment
Enchantment.Rarity
-
字段概要
从类继承的字段 net.minecraft.world.item.enchantment.Enchantment
category, descriptionId
-
构造器概要
构造器 -
方法概要
从类继承的方法 net.minecraft.world.item.enchantment.Enchantment
byId, canApplyAtEnchantingTable, canEnchant, checkCompatibility, doPostAttack, doPostHurt, getDamageBonus, getDamageProtection, getDescriptionId, getFullname, getMaxLevel, getMinLevel, getOrCreateDescriptionId, getRarity, getSlotItems, isAllowedOnBooks, isCompatibleWith, isCurse, isDiscoverable, isTradeable
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraftforge.common.extensions.IForgeEnchantment
allowedInCreativeTab, getDamageBonus
-
构造器详细资料
-
MendingEnchantment
-
-
方法详细资料
-
getMinCost
public int getMinCost(int pEnchantmentLevel) - 覆盖:
getMinCost
在类中Enchantment
-
getMaxCost
public int getMaxCost(int pEnchantmentLevel) - 覆盖:
getMaxCost
在类中Enchantment
-
isTreasureOnly
public boolean isTreasureOnly()- 覆盖:
isTreasureOnly
在类中Enchantment
-