Uses of Class
net.minecraft.enchantment.Enchantment
Packages that use Enchantment
Package
Description
-
Uses of Enchantment in net.minecraft
Fields in net.minecraft declared as EnchantmentFields in net.minecraft with type parameters of type EnchantmentMethods in net.minecraft that return EnchantmentModifier and TypeMethodDescriptionstatic Enchantmentclass_4078.method_17999(com.mojang.brigadier.context.CommandContext<class_3915> commandContext, String string) class_4078.parse(com.mojang.brigadier.StringReader stringReader) Methods in net.minecraft with parameters of type EnchantmentModifier and TypeMethodDescriptionprivate static intclass_4418.method_20677(class_3915 class_3915, Collection<? extends Entity> collection, Enchantment enchantment, int int2) Method parameters in net.minecraft with type arguments of type EnchantmentConstructors in net.minecraft with parameters of type EnchantmentModifierConstructorDescriptionclass_3180(Enchantment enchantment, class_3638.class_3642 class_3642) Constructor 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 TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassFields 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.CHANNELINGstatic 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.IMPALINGstatic final EnchantmentEnchantments.INFINITYstatic final EnchantmentEnchantments.KNOCKBACKstatic final EnchantmentEnchantments.LOOTINGstatic final EnchantmentEnchantments.LOYALTYstatic 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.RIPTIDEstatic final EnchantmentEnchantments.SHARPNESSstatic final EnchantmentEnchantments.SILK_TOUCHstatic final EnchantmentEnchantments.SMITEstatic final EnchantmentEnchantments.SWEEPINGstatic final EnchantmentEnchantments.THORNSstatic final EnchantmentEnchantments.UNBREAKINGstatic final EnchantmentEnchantments.VANISHING_CURSEMethods in net.minecraft.enchantment that return EnchantmentModifier and TypeMethodDescriptionstatic EnchantmentEnchantment.byIndex(int id) private static 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 int2) static ItemStackEnchantmentHelper.chooseEquipmentWith(Enchantment enchantment, LivingEntity entity) booleanBetterLootEnchantment.differs(Enchantment other) booleanChannelingEnchantment.differs(Enchantment other) booleanDamageEnchantment.differs(Enchantment other) booleanDepthStriderEnchantment.differs(Enchantment other) protected booleanEnchantment.differs(Enchantment other) booleanFrostWalkerEnchantment.differs(Enchantment other) booleanInfinityEnchantment.differs(Enchantment other) booleanLoyaltyEnchantment.differs(Enchantment other) booleanProtectionEnchantment.differs(Enchantment other) booleanRiptideEnchantment.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 intEnchantmentHelper.getLevel(Enchantment enchantment, ItemStack stack) Gets the level of an enchantment on an item stack.final booleanEnchantment.isDifferent(Enchantment other) static booleanEnchantmentHelper.method_16262(Collection<Enchantment> collection, Enchantment enchantment) private static voidEnchantment.register(String identifier, Enchantment enchantment) Method parameters in net.minecraft.enchantment with type arguments of type EnchantmentModifier and TypeMethodDescriptionstatic booleanEnchantmentHelper.method_16262(Collection<Enchantment> collection, Enchantment enchantment) static 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) -
Uses of Enchantment in net.minecraft.util.registry
Fields in net.minecraft.util.registry with type parameters of type Enchantment