Uses of Class
net.minecraft.enchantment.Enchantment
Packages that use Enchantment
-
Uses of Enchantment in net.minecraft.enchantment
Subclasses of Enchantment in net.minecraft.enchantmentModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassFields in net.minecraft.enchantment declared as EnchantmentModifier and TypeFieldDescriptionstatic final Enchantment[]Enchantment.ALL_ENCHANTMENTSstatic final EnchantmentEnchantment.AQUA_AFFINITYstatic final EnchantmentEnchantment.BANE_OF_ARTHROPODSstatic final EnchantmentEnchantment.BLAST_PROTECTIONstatic final EnchantmentEnchantment.DEPTH_STRIDERstatic final EnchantmentEnchantment.EFFICIENCYfinal EnchantmentEnchantmentLevelEntry.enchantmentprivate static final Enchantment[]Enchantment.ENCHANTMENTSstatic final EnchantmentEnchantment.FEATHER_FALLINGstatic final EnchantmentEnchantment.FIRE_ASPECTstatic final EnchantmentEnchantment.FIRE_PROTECTIONstatic final EnchantmentEnchantment.FLAMEstatic final EnchantmentEnchantment.FORTUNEstatic final EnchantmentEnchantment.INIFINITYstatic final EnchantmentEnchantment.KNOCKBACKstatic final EnchantmentEnchantment.LOOTINGstatic final EnchantmentEnchantment.LUCK_OF_THE_SEAstatic final EnchantmentEnchantment.LUREstatic final EnchantmentEnchantment.POWERstatic final EnchantmentEnchantment.PROJECTILE_PROTECTIONstatic final EnchantmentEnchantment.PROTECTIONstatic final EnchantmentEnchantment.PUNCHstatic final EnchantmentEnchantment.RESPIRATIONstatic final EnchantmentEnchantment.SHARPNESSstatic final EnchantmentEnchantment.SILK_TOUCHstatic final EnchantmentEnchantment.SMITEstatic final EnchantmentEnchantment.THORNSstatic final EnchantmentEnchantment.UNBREAKINGFields in net.minecraft.enchantment with type parameters of type EnchantmentModifier and TypeFieldDescriptionprivate static final Map<Identifier,Enchantment> Enchantment.ENCHANTMENT_MAPMethods in net.minecraft.enchantment that return EnchantmentModifier and TypeMethodDescriptionstatic EnchantmentEnchantment.byRawId(int id) static EnchantmentMethods in net.minecraft.enchantment with parameters of type EnchantmentModifier and TypeMethodDescriptionvoidEnchantmentHelper.Consumer.accept(Enchantment enchantment, int level) voidEnchantmentHelper.DamageModifier.accept(Enchantment enchantment, int level) voidEnchantmentHelper.OnAttackedWith.accept(Enchantment enchantment, int level) voidEnchantmentHelper.OnDamagedWith.accept(Enchantment enchantment, int level) voidEnchantmentHelper.ProtectionModifier.accept(Enchantment enchantment, int level) static ItemStackEnchantmentHelper.chooseEquipmentWith(Enchantment enchantment, LivingEntity entity) booleanBetterLootEnchantment.differs(Enchantment other) booleanDamageEnchantment.differs(Enchantment other) booleanEnchantment.differs(Enchantment other) booleanProtectionEnchantment.differs(Enchantment other) booleanSilkTouchEnchantment.differs(Enchantment other) Constructors in net.minecraft.enchantment with parameters of type Enchantment -
Uses of Enchantment in net.minecraft.item
Methods in net.minecraft.item with parameters of type EnchantmentModifier and TypeMethodDescriptionvoidItemStack.addEnchantment(Enchantment enchantment, int level) voidEnchantedBookItem.getEnchantments(Enchantment enchantment, List<ItemStack> list)