net.minecraft.server.v1_12_R1

public abstract class Enchantment

alk
net.minecraft.enchantment.Enchantment
net.minecraft.server.v1_12_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(alk arg0)
func_185258_b(Enchantment arg0)
getId(Enchantment arg0)
public static Enchantment
b(String arg0)
func_180305_b(String arg0)
public List<ItemStack>
a(vp 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, ur arg1)
func_77318_a(int arg0, DamageSource arg1)
public float
a(int arg0, vu arg1)
func_152376_a(int arg0, EnumCreatureAttribute arg1)
public final boolean
c(alk arg0)
func_191560_c(Enchantment arg0)
protected boolean
a(alk 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(aip arg0)
func_92089_a(ItemStack arg0)
canEnchant(ItemStack arg0)
public void
a(vp arg0, vg arg1, int arg2)
func_151368_a(EntityLivingBase arg0, Entity arg1, int arg2)
public void
b(vp arg0, vg 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()
isCursed()
public static void
g()
func_185257_f()