net.minecraft.server.v1_11_R1

public abstract class Enchantment

aih
net.minecraft.enchantment.Enchantment
net.minecraft.server.v1_11_R1.Enchantment

Field summary

Modifier and TypeField
public static final RegistryMaterials<MinecraftKey, Enchantment>
b
field_185264_b
enchantments
private final EnumItemSlot[]
a
field_185263_a
private final Enchantment$Rarity
e
field_77333_a
public EnchantmentSlotType
c
field_77351_y
itemTarget
protected String
d
field_77350_z

Constructor summary

ModifierConstructor
protected (Enchantment$Rarity arg0, EnchantmentSlotType arg1, EnumItemSlot[] arg2)

Method summary

Modifier and TypeMethod
public static Enchantment
c(int arg0)
func_185262_c(int arg0)
public static int
b(aih arg0)
func_185258_b(Enchantment arg0)
getId(Enchantment arg0)
public static Enchantment
b(String arg0)
func_180305_b(String arg0)
public List<ItemStack>
a(sv arg0)
func_185260_a(EntityLivingBase arg0)
public Enchantment$Rarity
e()
func_77324_c()
public int
f()
func_77319_d()
getStartLevel()
public int
b()
func_77325_b()
getMaxLevel()
public int
a(int arg0)
func_77321_a(int arg0)
public int
b(int arg0)
func_77317_b(int arg0)
public int
a(int arg0, rx arg1)
func_77318_a(int arg0, DamageSource arg1)
public float
a(int arg0, ta arg1)
func_152376_a(int arg0, EnumCreatureAttribute arg1)
public boolean
a(aih arg0)
func_77326_a(Enchantment arg0)
public Enchantment
c(String arg0)
func_77322_b(String arg0)
public String
a()
func_77320_a()
public String
d(int arg0)
func_77316_c(int arg0)
public boolean
a(afi arg0)
func_92089_a(ItemStack arg0)
canEnchant(ItemStack arg0)
public void
a(sv arg0, sm arg1, int arg2)
func_151368_a(EntityLivingBase arg0, Entity arg1, int arg2)
public void
b(sv arg0, sm arg1, int arg2)
func_151367_b(EntityLivingBase arg0, Entity arg1, int arg2)
public boolean
c()
func_185261_e()
isTreasure()
public boolean
d()
func_190936_d()
public static void
g()
func_185257_f()