public class FrostWalkerEnchantment extends Enchantment
Enchantment.RaritytranslationKey, type| Constructor and Description |
|---|
FrostWalkerEnchantment(Enchantment.Rarity weight,
EquipmentSlot[] slotTypes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canAccept(Enchantment other)
Returns whether this enchantment can exist on an item stack with the
other enchantment. |
static void |
freezeWater(LivingEntity entity,
World world,
BlockPos blockPos,
int level) |
int |
getMaximumLevel() |
int |
getMaximumPower(int level) |
int |
getMinimumPower(int level) |
boolean |
isTreasure() |
byRawId, canCombine, getAttackDamage, getEquipment, getMinimumLevel, getName, getOrCreateTranslationKey, getProtectionAmount, getRarity, getTranslationKey, isAcceptableItem, isAvailableForEnchantedBookOffer, isAvailableForRandomSelection, isCursed, onTargetDamaged, onUserDamagedpublic FrostWalkerEnchantment(Enchantment.Rarity weight, EquipmentSlot[] slotTypes)
public int getMinimumPower(int level)
getMinimumPower in class Enchantmentpublic int getMaximumPower(int level)
getMaximumPower in class Enchantmentpublic boolean isTreasure()
isTreasure in class Enchantmentpublic int getMaximumLevel()
getMaximumLevel in class Enchantmentpublic static void freezeWater(LivingEntity entity, World world, BlockPos blockPos, int level)
public boolean canAccept(Enchantment other)
other enchantment.canAccept in class Enchantment