public class EnchantmentThorns extends Enchantment
aquaAffinity, 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 |
---|
EnchantmentThorns(int p_i45764_1_,
ResourceLocation p_i45764_2_,
int p_i45764_3_) |
Modifier and Type | Method and Description |
---|---|
boolean |
canApply(ItemStack stack) |
static boolean |
func_92094_a(int p_92094_0_,
java.util.Random p_92094_1_) |
static int |
func_92095_b(int p_92095_0_,
java.util.Random p_92095_1_) |
int |
getMaxEnchantability(int enchantmentLevel) |
int |
getMaxLevel() |
int |
getMinEnchantability(int enchantmentLevel) |
void |
onUserHurt(EntityLivingBase user,
Entity attacker,
int level) |
addToBookList, calcDamageByCreature, calcModifierDamage, canApplyAtEnchantingTable, canApplyTogether, getEnchantmentById, getEnchantmentByLocation, getLocationNames, getMinLevel, getName, getTranslatedName, getWeight, isAllowedOnBooks, onEntityDamaged, setName
public EnchantmentThorns(int p_i45764_1_, ResourceLocation p_i45764_2_, int p_i45764_3_)
public int getMinEnchantability(int enchantmentLevel)
getMinEnchantability
in class Enchantment
public int getMaxEnchantability(int enchantmentLevel)
getMaxEnchantability
in class Enchantment
public int getMaxLevel()
getMaxLevel
in class Enchantment
public boolean canApply(ItemStack stack)
canApply
in class Enchantment
public void onUserHurt(EntityLivingBase user, Entity attacker, int level)
onUserHurt
in class Enchantment
public static boolean func_92094_a(int p_92094_0_, java.util.Random p_92094_1_)
public static int func_92095_b(int p_92095_0_, java.util.Random p_92095_1_)