Class FrostWalkerEnchantment
java.lang.Object
net.minecraft.world.item.enchantment.Enchantment
net.minecraft.world.item.enchantment.FrostWalkerEnchantment
- All Implemented Interfaces:
- IEnchantmentExtension
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.world.item.enchantment.EnchantmentEnchantment.Rarity
- 
Field SummaryFields inherited from class net.minecraft.world.item.enchantment.Enchantmentcategory, descriptionId
- 
Constructor SummaryConstructorsConstructorDescriptionFrostWalkerEnchantment(Enchantment.Rarity p_45013_, EquipmentSlot... p_45014_) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleancheckCompatibility(Enchantment p_45024_) intgetMaxCost(int p_45027_) intintgetMinCost(int p_45017_) booleanstatic voidonEntityMoved(LivingEntity p_45019_, Level p_45020_, BlockPos p_45021_, int p_45022_) Methods inherited from class net.minecraft.world.item.enchantment.EnchantmentbuiltInRegistryHolder, byId, canApplyAtEnchantingTable, canEnchant, doPostAttack, doPostHurt, getDamageBonus, getDamageProtection, getDescriptionId, getFullname, getMinLevel, getOrCreateDescriptionId, getRarity, getSlotItems, isAllowedOnBooks, isCompatibleWith, isCurse, isDiscoverable, isTradeableMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.neoforged.neoforge.common.extensions.IEnchantmentExtensionallowedInCreativeTab, getDamageBonus
- 
Constructor Details- 
FrostWalkerEnchantment
 
- 
- 
Method Details- 
getMinCostpublic int getMinCost(int p_45017_) - Overrides:
- getMinCostin class- Enchantment
 
- 
getMaxCostpublic int getMaxCost(int p_45027_) - Overrides:
- getMaxCostin class- Enchantment
 
- 
isTreasureOnlypublic boolean isTreasureOnly()- Overrides:
- isTreasureOnlyin class- Enchantment
 
- 
getMaxLevelpublic int getMaxLevel()- Overrides:
- getMaxLevelin class- Enchantment
 
- 
onEntityMovedpublic static void onEntityMoved(LivingEntity p_45019_, Level p_45020_, BlockPos p_45021_, int p_45022_) 
- 
checkCompatibility- Overrides:
- checkCompatibilityin class- Enchantment
 
 
-