public class EnchantmentPoisonTip
extends org.cyclops.cyclopscore.config.configurable.ConfigurableEnchantment
| Constructor and Description |
|---|
EnchantmentPoisonTip(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.EnchantmentConfig> eConfig) |
| Modifier and Type | Method and Description |
|---|---|
static EnchantmentPoisonTip |
getInstance()
Get the unique instance.
|
int |
getMaxEnchantability(int level) |
int |
getMaxLevel() |
int |
getMinEnchantability(int level) |
static void |
poison(net.minecraft.entity.EntityLivingBase entity,
int level)
Poison the attacked entity according to the level of the enchant.
|
getConfig, getTranslatedNamecalcDamageByCreature, calcModifierDamage, canApply, canApplyAtEnchantingTable, canApplyTogether, getEnchantmentByID, getEnchantmentByLocation, getEnchantmentID, getEntityEquipment, getMinLevel, getName, getRarity, isAllowedOnBooks, isTreasureEnchantment, onEntityDamaged, onUserHurt, registerEnchantments, setNamepublic EnchantmentPoisonTip(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.EnchantmentConfig> eConfig)
public static EnchantmentPoisonTip getInstance()
public int getMinEnchantability(int level)
getMinEnchantability in class net.minecraft.enchantment.Enchantmentpublic int getMaxEnchantability(int level)
getMaxEnchantability in class net.minecraft.enchantment.Enchantmentpublic int getMaxLevel()
getMaxLevel in class net.minecraft.enchantment.Enchantmentpublic static void poison(net.minecraft.entity.EntityLivingBase entity,
int level)
entity - The entity was attacked.level - The level of the enchant.