public class ImpalingEnchantment extends Enchantment
Enchantment.Rarityname, typedelegate| コンストラクタと説明 | 
|---|
| ImpalingEnchantment(Enchantment.Rarity rarityIn,
                   EquipmentSlotType... slots) | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| float | calcDamageByCreature(int level,
                    CreatureAttribute creatureType)Calculates the additional damage that will be dealt by an item with this enchantment. | 
| int | getMaxEnchantability(int enchantmentLevel) | 
| int | getMaxLevel()Returns the maximum level that the enchantment can have. | 
| int | getMinEnchantability(int enchantmentLevel)Returns the minimal value of enchantability needed on the enchantment level passed. | 
calcModifierDamage, canApply, canApplyAtEnchantingTable, canApplyTogether, getDefaultTranslationKey, getDisplayName, getEnchantmentByID, getEntityEquipment, getMinLevel, getName, getRarity, isAllowedOnBooks, isCompatibleWith, isCurse, isTreasureEnchantment, onEntityDamaged, onUserHurtgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNamepublic ImpalingEnchantment(Enchantment.Rarity rarityIn, EquipmentSlotType... slots)
public int getMinEnchantability(int enchantmentLevel)
getMinEnchantability クラス内 Enchantmentpublic int getMaxEnchantability(int enchantmentLevel)
getMaxEnchantability クラス内 Enchantmentpublic int getMaxLevel()
getMaxLevel クラス内 Enchantmentpublic float calcDamageByCreature(int level,
                                  CreatureAttribute creatureType)
calcDamageByCreature クラス内 Enchantment