public class FrostWalkerEnchantment extends Enchantment
Enchantment.Rarity
name, type
delegate
Constructor and Description |
---|
FrostWalkerEnchantment(Enchantment.Rarity rarityIn,
EquipmentSlotType... slots) |
Modifier and Type | Method and Description |
---|---|
boolean |
canApplyTogether(Enchantment ench) |
static void |
freezeNearby(LivingEntity living,
World worldIn,
BlockPos pos,
int level) |
int |
getMaxEnchantability(int enchantmentLevel) |
int |
getMaxLevel() |
int |
getMinEnchantability(int enchantmentLevel) |
boolean |
isTreasureEnchantment() |
calcDamageByCreature, calcModifierDamage, canApply, canApplyAtEnchantingTable, getDefaultTranslationKey, getDisplayName, getEnchantmentByID, getEntityEquipment, getMinLevel, getName, getRarity, isAllowedOnBooks, isCompatibleWith, isCurse, onEntityDamaged, onUserHurt
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
public FrostWalkerEnchantment(Enchantment.Rarity rarityIn, EquipmentSlotType... slots)
public int getMinEnchantability(int enchantmentLevel)
getMinEnchantability
in class Enchantment
public int getMaxEnchantability(int enchantmentLevel)
getMaxEnchantability
in class Enchantment
public boolean isTreasureEnchantment()
isTreasureEnchantment
in class Enchantment
public int getMaxLevel()
getMaxLevel
in class Enchantment
public static void freezeNearby(LivingEntity living, World worldIn, BlockPos pos, int level)
public boolean canApplyTogether(Enchantment ench)
canApplyTogether
in class Enchantment