Uses of Class
net.minecraft.enchantment.Enchantment
Packages that use Enchantment
-
Uses of Enchantment in net.minecraft
Fields in net.minecraft declared as EnchantmentFields in net.minecraft with type parameters of type EnchantmentMethod parameters in net.minecraft with type arguments of type EnchantmentConstructors in net.minecraft with parameters of type EnchantmentConstructor parameters in net.minecraft with type arguments of type Enchantment -
Uses of Enchantment in net.minecraft.enchantment
Subclasses of Enchantment in net.minecraft.enchantmentModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassFields in net.minecraft.enchantment declared as EnchantmentModifier and TypeFieldDescriptionstatic final EnchantmentEnchantments.AQUA_AFFINITYstatic final EnchantmentEnchantments.BANE_OF_ARTHROPODSstatic final EnchantmentEnchantments.BINDING_CURSEstatic final EnchantmentEnchantments.BLAST_PROTECTIONstatic final EnchantmentEnchantments.DEPTH_STRIDERstatic final EnchantmentEnchantments.EFFICIENCYfinal EnchantmentEnchantmentLevelEntry.enchantmentstatic final EnchantmentEnchantments.FEATHER_FALLINGstatic final EnchantmentEnchantments.FIRE_ASPECTstatic final EnchantmentEnchantments.FIRE_PROTECTIONstatic final EnchantmentEnchantments.FLAMEstatic final EnchantmentEnchantments.FORTUNEstatic final EnchantmentEnchantments.FROST_WALKERstatic final EnchantmentEnchantments.INFINITYstatic final EnchantmentEnchantments.KNOCKBACKstatic final EnchantmentEnchantments.LOOTINGstatic final EnchantmentEnchantments.LUCK_OF_THE_SEAstatic final EnchantmentEnchantments.LUREstatic final EnchantmentEnchantments.MENDINGstatic final EnchantmentEnchantments.POWERstatic final EnchantmentEnchantments.PROJECTILE_PROTECTIONstatic final EnchantmentEnchantments.PROTECTIONstatic final EnchantmentEnchantments.PUNCHstatic final EnchantmentEnchantments.RESPIRATIONstatic final EnchantmentEnchantments.SHARPNESSstatic final EnchantmentEnchantments.SILK_TOUCHstatic final EnchantmentEnchantments.SMITEstatic final EnchantmentEnchantments.SWEEPINGstatic final EnchantmentEnchantments.THORNSstatic final EnchantmentEnchantments.UNBREAKINGstatic final EnchantmentEnchantments.VANISHING_CURSEFields in net.minecraft.enchantment with type parameters of type EnchantmentModifier and TypeFieldDescriptionstatic final SimpleRegistry<Identifier,Enchantment> Enchantment.REGISTRYMethods in net.minecraft.enchantment that return EnchantmentModifier and TypeMethodDescriptionstatic EnchantmentEnchantment.byIndex(int id) private static Enchantmentstatic EnchantmentMethods in net.minecraft.enchantment that return types with arguments of type EnchantmentModifier and TypeMethodDescriptionstatic Map<Enchantment,Integer> Gets the enchantments on an item stack.Methods 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) booleanDepthStriderEnchantment.differs(Enchantment other) protected booleanEnchantment.differs(Enchantment other) booleanFrostWalkerEnchantment.differs(Enchantment other) booleanInfinityEnchantment.differs(Enchantment other) booleanProtectionEnchantment.differs(Enchantment other) booleanSilkTouchEnchantment.differs(Enchantment other) static intEnchantmentHelper.getEquipmentLevel(Enchantment enchantment, LivingEntity entity) Returns the highest level of the passed enchantment in the enchantment's applicable equipment slots' item stacks.static intEnchantment.getId(Enchantment enchantment) static intEnchantmentHelper.getLevel(Enchantment enchantment, ItemStack stack) Gets the level of an enchantment on an item stack.final booleanEnchantment.isDifferent(Enchantment other) Method parameters in net.minecraft.enchantment with type arguments of type EnchantmentModifier and TypeMethodDescriptionstatic voidEnchantmentHelper.set(Map<Enchantment, Integer> enchantments, ItemStack stack) Sets the enchantments on an item stack.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)