net.minecraft.server.v1_9_R1

public abstract class Enchantment

agm
net.minecraft.enchantment.Enchantment
net.minecraft.server.v1_9_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(agm arg0)
func_185258_b(Enchantment arg0)
getId(Enchantment arg0)
public static Enchantment
b(String arg0)
func_180305_b(String arg0)
public Iterable<ItemStack>
a(sa arg0)
func_185260_a(EntityLivingBase arg0)
public Enchantment$Rarity
c()
func_77324_c()
public int
d()
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, rc arg1)
func_77318_a(int arg0, DamageSource arg1)
public float
a(int arg0, sf arg1)
func_152376_a(int arg0, EnumCreatureAttribute arg1)
public boolean
a(agm 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(adq arg0)
func_92089_a(ItemStack arg0)
canEnchant(ItemStack arg0)
public void
a(sa arg0, rr arg1, int arg2)
func_151368_a(EntityLivingBase arg0, Entity arg1, int arg2)
public void
b(sa arg0, rr arg1, int arg2)
func_151367_b(EntityLivingBase arg0, Entity arg1, int arg2)
public boolean
e()
func_185261_e()
public static void
f()
func_185257_f()