public class EnchantmentLootBonus 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| Modifier | Constructor and Description |
|---|---|
protected |
EnchantmentLootBonus(int p_i45767_1_,
ResourceLocation p_i45767_2_,
int p_i45767_3_,
EnumEnchantmentType p_i45767_4_) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canApplyTogether(Enchantment ench) |
int |
getMaxEnchantability(int enchantmentLevel) |
int |
getMaxLevel() |
int |
getMinEnchantability(int enchantmentLevel) |
addToBookList, calcDamageByCreature, calcModifierDamage, canApply, canApplyAtEnchantingTable, getEnchantmentById, getEnchantmentByLocation, getLocationNames, getMinLevel, getName, getTranslatedName, getWeight, isAllowedOnBooks, onEntityDamaged, onUserHurt, setNameprotected EnchantmentLootBonus(int p_i45767_1_,
ResourceLocation p_i45767_2_,
int p_i45767_3_,
EnumEnchantmentType p_i45767_4_)
public int getMinEnchantability(int enchantmentLevel)
getMinEnchantability in class Enchantmentpublic int getMaxEnchantability(int enchantmentLevel)
getMaxEnchantability in class Enchantmentpublic int getMaxLevel()
getMaxLevel in class Enchantmentpublic boolean canApplyTogether(Enchantment ench)
canApplyTogether in class Enchantment