public class EnchantmentUnusing
extends org.cyclops.cyclopscore.config.configurable.ConfigurableEnchantment
eConfigaquaAffinity, baneOfArthropods, blastProtection, depthStrider, effectId, efficiency, enchantmentsBookList, featherFalling, fireAspect, fireProtection, flame, fortune, infinity, knockback, looting, luckOfTheSea, lure, name, power, projectileProtection, protection, punch, respiration, sharpness, silkTouch, smite, thorns, type, unbreaking| Constructor and Description |
|---|
EnchantmentUnusing(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.EnchantmentConfig> eConfig) |
| Modifier and Type | Method and Description |
|---|---|
static EnchantmentUnusing |
getInstance()
Get the unique instance.
|
int |
getMaxEnchantability(int par1) |
int |
getMaxLevel() |
int |
getMinEnchantability(int par1) |
static boolean |
unuseTool(net.minecraft.item.ItemStack itemStack)
Check if the given item can be used.
|
getConfig, getTranslatedNameaddToBookList, calcDamageByCreature, calcModifierDamage, canApply, canApplyAtEnchantingTable, canApplyTogether, getEnchantmentById, getEnchantmentByLocation, getLocationNames, getMinLevel, getName, getWeight, isAllowedOnBooks, onEntityDamaged, onUserHurt, setNamepublic EnchantmentUnusing(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.EnchantmentConfig> eConfig)
public static EnchantmentUnusing getInstance()
public int getMinEnchantability(int par1)
getMinEnchantability in class net.minecraft.enchantment.Enchantmentpublic int getMaxEnchantability(int par1)
getMaxEnchantability in class net.minecraft.enchantment.Enchantmentpublic int getMaxLevel()
getMaxLevel in class net.minecraft.enchantment.Enchantmentpublic static boolean unuseTool(net.minecraft.item.ItemStack itemStack)
itemStack - The ItemStack that will be unused.