Package net.minecraft.src
Class EnchantmentLootBonus
- java.lang.Object
-
- net.minecraft.src.Enchantment
-
- net.minecraft.src.EnchantmentLootBonus
-
public class EnchantmentLootBonus extends Enchantment
-
-
Field Summary
-
Fields inherited from class net.minecraft.src.Enchantment
aquaAffinity, baneOfArthropods, blastProtection, effectId, efficiency, enchantmentsList, featherFalling, fireAspect, fireProtection, flame, fortune, infinity, knockback, looting, name, power, projectileProtection, protection, punch, respiration, sharpness, silkTouch, smite, type, unbreaking
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
EnchantmentLootBonus(int var1, int var2, EnumEnchantmentType var3)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canApplyTogether(Enchantment var1)
int
getMaxEnchantability(int var1)
int
getMaxLevel()
int
getMinEnchantability(int var1)
-
Methods inherited from class net.minecraft.src.Enchantment
calcModifierDamage, calcModifierLiving, getMinLevel, getName, getTranslatedName, getWeight, setName
-
-
-
-
Constructor Detail
-
EnchantmentLootBonus
protected EnchantmentLootBonus(int var1, int var2, EnumEnchantmentType var3)
-
-
Method Detail
-
getMinEnchantability
public int getMinEnchantability(int var1)
- Overrides:
getMinEnchantability
in classEnchantment
-
getMaxEnchantability
public int getMaxEnchantability(int var1)
- Overrides:
getMaxEnchantability
in classEnchantment
-
getMaxLevel
public int getMaxLevel()
- Overrides:
getMaxLevel
in classEnchantment
-
canApplyTogether
public boolean canApplyTogether(Enchantment var1)
- Overrides:
canApplyTogether
in classEnchantment
-
-