Uses of Class
net.minecraft.enchantment.Enchantment
Packages that use Enchantment
Package
Description
-
Uses of Enchantment in net.minecraft.advancements.criterion
Fields in net.minecraft.advancements.criterion declared as EnchantmentMethod parameters in net.minecraft.advancements.criterion with type arguments of type EnchantmentModifier and TypeMethodDescriptionbooleanEnchantmentPredicate.containedIn(Map<Enchantment, Integer> p_192463_1_) Constructors in net.minecraft.advancements.criterion with parameters of type EnchantmentModifierConstructorDescriptionEnchantmentPredicate(Enchantment p_i49723_1_, MinMaxBounds.IntBound p_i49723_2_) -
Uses of Enchantment in net.minecraft.command.arguments
Methods in net.minecraft.command.arguments that return EnchantmentModifier and TypeMethodDescriptionstatic EnchantmentEnchantmentArgument.getEnchantment(com.mojang.brigadier.context.CommandContext<CommandSource> p_201944_0_, String p_201944_1_) EnchantmentArgument.parse(com.mojang.brigadier.StringReader p_parse_1_) -
Uses of Enchantment in net.minecraft.command.impl
Methods in net.minecraft.command.impl with parameters of type EnchantmentModifier and TypeMethodDescriptionprivate static intEnchantCommand.enchant(CommandSource p_202651_0_, Collection<? extends Entity> p_202651_1_, Enchantment p_202651_2_, int p_202651_3_) -
Uses of Enchantment in net.minecraft.enchantment
Subclasses of Enchantment in net.minecraft.enchantmentModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassFields in net.minecraft.enchantment declared as EnchantmentModifier and TypeFieldDescriptionstatic final EnchantmentEnchantments.ALL_DAMAGE_PROTECTIONstatic final EnchantmentEnchantments.AQUA_AFFINITYstatic final EnchantmentEnchantments.BANE_OF_ARTHROPODSstatic final EnchantmentEnchantments.BINDING_CURSEstatic final EnchantmentEnchantments.BLAST_PROTECTIONstatic final EnchantmentEnchantments.BLOCK_EFFICIENCYstatic final EnchantmentEnchantments.BLOCK_FORTUNEstatic final EnchantmentEnchantments.CHANNELINGstatic final EnchantmentEnchantments.DEPTH_STRIDERfinal EnchantmentEnchantmentData.enchantmentstatic final EnchantmentEnchantments.FALL_PROTECTIONstatic final EnchantmentEnchantments.FIRE_ASPECTstatic final EnchantmentEnchantments.FIRE_PROTECTIONstatic final EnchantmentEnchantments.FISHING_LUCKstatic final EnchantmentEnchantments.FISHING_SPEEDstatic final EnchantmentEnchantments.FLAMING_ARROWSstatic final EnchantmentEnchantments.FROST_WALKERstatic final EnchantmentEnchantments.IMPALINGstatic final EnchantmentEnchantments.INFINITY_ARROWSstatic final EnchantmentEnchantments.KNOCKBACKstatic final EnchantmentEnchantments.LOYALTYstatic final EnchantmentEnchantments.MENDINGstatic final EnchantmentEnchantments.MOB_LOOTINGstatic final EnchantmentEnchantments.MULTISHOTstatic final EnchantmentEnchantments.PIERCINGstatic final EnchantmentEnchantments.POWER_ARROWSstatic final EnchantmentEnchantments.PROJECTILE_PROTECTIONstatic final EnchantmentEnchantments.PUNCH_ARROWSstatic final EnchantmentEnchantments.QUICK_CHARGEstatic final EnchantmentEnchantments.RESPIRATIONstatic final EnchantmentEnchantments.RIPTIDEstatic final EnchantmentEnchantments.SHARPNESSstatic final EnchantmentEnchantments.SILK_TOUCHstatic final EnchantmentEnchantments.SMITEstatic final EnchantmentEnchantments.SOUL_SPEEDstatic final EnchantmentEnchantments.SWEEPING_EDGEstatic final EnchantmentEnchantments.THORNSstatic final EnchantmentEnchantments.UNBREAKINGstatic final EnchantmentEnchantments.VANISHING_CURSEFields in net.minecraft.enchantment with type parameters of type EnchantmentModifier and TypeFieldDescriptionprivate final ReverseTagWrapper<Enchantment>Enchantment.reverseTagsMethods in net.minecraft.enchantment that return EnchantmentModifier and TypeMethodDescriptionstatic EnchantmentEnchantment.byId(int p_185262_0_) private static EnchantmentEnchantments.register(String p_222191_0_, Enchantment p_222191_1_) Methods in net.minecraft.enchantment that return types with arguments of type EnchantmentModifier and TypeMethodDescriptionstatic Map<Enchantment,Integer> EnchantmentHelper.deserializeEnchantments(ListNBT p_226652_0_) static Map<Enchantment,Integer> EnchantmentHelper.getEnchantments(ItemStack p_82781_0_) Methods in net.minecraft.enchantment with parameters of type EnchantmentModifier and TypeMethodDescriptionvoidEnchantmentHelper.IEnchantmentVisitor.accept(Enchantment p_accept_1_, int p_accept_2_) booleanChannelingEnchantment.checkCompatibility(Enchantment p_77326_1_) booleanDamageEnchantment.checkCompatibility(Enchantment p_77326_1_) booleanDepthStriderEnchantment.checkCompatibility(Enchantment p_77326_1_) protected booleanEnchantment.checkCompatibility(Enchantment p_77326_1_) booleanFrostWalkerEnchantment.checkCompatibility(Enchantment p_77326_1_) booleanInfinityEnchantment.checkCompatibility(Enchantment p_77326_1_) booleanLootBonusEnchantment.checkCompatibility(Enchantment p_77326_1_) booleanLoyaltyEnchantment.checkCompatibility(Enchantment p_77326_1_) booleanMultishotEnchantment.checkCompatibility(Enchantment p_77326_1_) booleanPiercingEnchantment.checkCompatibility(Enchantment p_77326_1_) booleanProtectionEnchantment.checkCompatibility(Enchantment p_77326_1_) booleanRiptideEnchantment.checkCompatibility(Enchantment p_77326_1_) booleanSilkTouchEnchantment.checkCompatibility(Enchantment p_77326_1_) static intEnchantmentHelper.getEnchantmentLevel(Enchantment p_185284_0_, LivingEntity p_185284_1_) static intEnchantmentHelper.getItemEnchantmentLevel(Enchantment p_77506_0_, ItemStack p_77506_1_) static Map.Entry<EquipmentSlotType,ItemStack> EnchantmentHelper.getRandomItemWith(Enchantment p_222189_0_, LivingEntity p_222189_1_) static Map.Entry<EquipmentSlotType,ItemStack> EnchantmentHelper.getRandomItemWith(Enchantment p_234844_0_, LivingEntity p_234844_1_, Predicate<ItemStack> p_234844_2_) final booleanEnchantment.isCompatibleWith(Enchantment p_191560_1_) static booleanEnchantmentHelper.isEnchantmentCompatible(Collection<Enchantment> p_201840_0_, Enchantment p_201840_1_) private static EnchantmentEnchantments.register(String p_222191_0_, Enchantment p_222191_1_) Method parameters in net.minecraft.enchantment with type arguments of type EnchantmentModifier and TypeMethodDescriptionstatic booleanEnchantmentHelper.isEnchantmentCompatible(Collection<Enchantment> p_201840_0_, Enchantment p_201840_1_) booleanEnchantment.isIn(ITag<Enchantment> tag) static voidEnchantmentHelper.setEnchantments(Map<Enchantment, Integer> p_82782_0_, ItemStack p_82782_1_) 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 Enchantment -
Uses of Enchantment in net.minecraft.loot.conditions
Fields in net.minecraft.loot.conditions declared as EnchantmentMethods in net.minecraft.loot.conditions with parameters of type EnchantmentModifier and TypeMethodDescriptionstatic ILootCondition.IBuilderTableBonus.bonusLevelFlatChance(Enchantment p_215955_0_, float... p_215955_1_) Constructors in net.minecraft.loot.conditions with parameters of type Enchantment -
Uses of Enchantment in net.minecraft.loot.functions
Fields in net.minecraft.loot.functions declared as EnchantmentFields in net.minecraft.loot.functions with type parameters of type EnchantmentModifier and TypeFieldDescriptionprivate final Set<Enchantment>EnchantRandomly.Builder.enchantmentsprivate final List<Enchantment>EnchantRandomly.enchantmentsMethods in net.minecraft.loot.functions with parameters of type EnchantmentModifier and TypeMethodDescriptionstatic LootFunction.Builder<?>ApplyBonus.addBonusBinomialDistributionCount(Enchantment p_215870_0_, float p_215870_1_, int p_215870_2_) static LootFunction.Builder<?>ApplyBonus.addOreBonusCount(Enchantment p_215869_0_) static LootFunction.Builder<?>ApplyBonus.addUniformBonusCount(Enchantment p_215871_0_) static LootFunction.Builder<?>ApplyBonus.addUniformBonusCount(Enchantment p_215865_0_, int p_215865_1_) private static ItemStackEnchantRandomly.enchantItem(ItemStack p_237420_0_, Enchantment p_237420_1_, Random p_237420_2_) EnchantRandomly.Builder.withEnchantment(Enchantment p_237424_1_) Constructors in net.minecraft.loot.functions with parameters of type EnchantmentModifierConstructorDescriptionprivateApplyBonus(ILootCondition[] p_i51246_1_, Enchantment p_i51246_2_, ApplyBonus.IFormula p_i51246_3_) Constructor parameters in net.minecraft.loot.functions with type arguments of type EnchantmentModifierConstructorDescriptionprivateEnchantRandomly(ILootCondition[] p_i51238_1_, Collection<Enchantment> p_i51238_2_) -
Uses of Enchantment in net.minecraft.util.registry
Fields in net.minecraft.util.registry with type parameters of type EnchantmentModifier and TypeFieldDescriptionstatic final Registry<Enchantment>Registry.ENCHANTMENTDeprecated.static final RegistryKey<Registry<Enchantment>>Registry.ENCHANTMENT_REGISTRY -
Uses of Enchantment in net.minecraftforge.common.data
Methods in net.minecraftforge.common.data with parameters of type EnchantmentMethod parameters in net.minecraftforge.common.data with type arguments of type EnchantmentModifier and TypeMethodDescriptionvoidLanguageProvider.addEnchantment(Supplier<? extends Enchantment> key, String name) -
Uses of Enchantment in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions with parameters of type EnchantmentModifier and TypeMethodDescriptiondefault booleanIForgeItem.canApplyAtEnchantingTable(ItemStack stack, Enchantment enchantment) Checks whether an item can be enchanted with a certain enchantment.default booleanIForgeItemStack.canApplyAtEnchantingTable(Enchantment enchantment) Checks whether an item can be enchanted with a certain enchantment. -
Uses of Enchantment in net.minecraftforge.debug.gameplay.loot
Subclasses of Enchantment in net.minecraftforge.debug.gameplay.lootFields in net.minecraftforge.debug.gameplay.loot with type parameters of type EnchantmentModifier and TypeFieldDescriptionprivate static final DeferredRegister<Enchantment>GlobalLootModifiersTest.ENCHANTSprivate static final RegistryObject<Enchantment>GlobalLootModifiersTest.SMELT -
Uses of Enchantment in net.minecraftforge.debug.misc
Fields in net.minecraftforge.debug.misc with type parameters of type EnchantmentModifier and TypeFieldDescriptionprivate static final ITag.INamedTag<Enchantment>CustomTagTypesTest.FIRE -
Uses of Enchantment in net.minecraftforge.registries
Fields in net.minecraftforge.registries with type parameters of type EnchantmentModifier and TypeFieldDescriptionstatic final IForgeRegistry<Enchantment>ForgeRegistries.ENCHANTMENTSstatic final RegistryKey<Registry<Enchantment>>ForgeRegistries.Keys.ENCHANTMENTS