public class EnchantmentFrostWalker extends Enchantment
Enchantment.RarityIForgeRegistryEntry.Impl<T extends IForgeRegistryEntry<T>>name, REGISTRY, typedelegate| Constructor and Description |
|---|
EnchantmentFrostWalker(Enchantment.Rarity rarityIn,
EntityEquipmentSlot... slots) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canApplyTogether(Enchantment ench)
Determines if the enchantment passed can be applyied together with this enchantment.
|
static void |
freezeNearby(EntityLivingBase living,
World worldIn,
BlockPos pos,
int level) |
int |
getMaxEnchantability(int enchantmentLevel)
Returns the maximum value of enchantability nedded on the enchantment level passed.
|
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.
|
boolean |
isTreasureEnchantment() |
calcDamageByCreature, calcModifierDamage, canApply, canApplyAtEnchantingTable, func_191560_c, getEnchantmentByID, getEnchantmentByLocation, getEnchantmentID, getEntityEquipment, getMinLevel, getName, getRarity, getTranslatedName, isAllowedOnBooks, isCurse, onEntityDamaged, onUserHurt, registerEnchantments, setNamegetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNamepublic EnchantmentFrostWalker(Enchantment.Rarity rarityIn, EntityEquipmentSlot... slots)
public int getMinEnchantability(int enchantmentLevel)
getMinEnchantability in class Enchantmentpublic int getMaxEnchantability(int enchantmentLevel)
getMaxEnchantability in class Enchantmentpublic boolean isTreasureEnchantment()
isTreasureEnchantment in class Enchantmentpublic int getMaxLevel()
getMaxLevel in class Enchantmentpublic static void freezeNearby(EntityLivingBase living, World worldIn, BlockPos pos, int level)
public boolean canApplyTogether(Enchantment ench)
canApplyTogether in class Enchantment