Class ArrowInfiniteEnchantment
java.lang.Object
net.minecraft.world.item.enchantment.Enchantment
net.minecraft.world.item.enchantment.ArrowInfiniteEnchantment
- All Implemented Interfaces:
IForgeEnchantment
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.item.enchantment.Enchantment
Enchantment.Rarity
-
Field Summary
Fields inherited from class net.minecraft.world.item.enchantment.Enchantment
category, descriptionId
-
Constructor Summary
ConstructorDescriptionArrowInfiniteEnchantment
(Enchantment.Rarity p_44584_, EquipmentSlot... p_44585_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
checkCompatibility
(Enchantment p_44590_) int
getMaxCost
(int p_44592_) int
getMinCost
(int p_44588_) Methods inherited from class net.minecraft.world.item.enchantment.Enchantment
builtInRegistryHolder, byId, canApplyAtEnchantingTable, canEnchant, doPostAttack, doPostHurt, getDamageBonus, getDamageProtection, getDescriptionId, getFullname, getMaxLevel, getMinLevel, getOrCreateDescriptionId, getRarity, getSlotItems, isAllowedOnBooks, isCompatibleWith, isCurse, isDiscoverable, isTradeable, isTreasureOnly
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraftforge.common.extensions.IForgeEnchantment
allowedInCreativeTab, getDamageBonus
-
Constructor Details
-
ArrowInfiniteEnchantment
-
-
Method Details
-
getMinCost
public int getMinCost(int p_44588_) - Overrides:
getMinCost
in classEnchantment
-
getMaxCost
public int getMaxCost(int p_44592_) - Overrides:
getMaxCost
in classEnchantment
-
checkCompatibility
- Overrides:
checkCompatibility
in classEnchantment
-