Uses of Class
net.minecraft.enchantment.Enchantment
-
-
Uses of Enchantment in net.minecraft.advancements.criterion
Fields in net.minecraft.advancements.criterion declared as Enchantment Modifier and Type Field Description private EnchantmentEnchantmentPredicate. enchantmentMethod parameters in net.minecraft.advancements.criterion with type arguments of type Enchantment Modifier and Type Method Description booleanEnchantmentPredicate. containedIn(java.util.Map<Enchantment,java.lang.Integer> p_192463_1_)Constructors in net.minecraft.advancements.criterion with parameters of type Enchantment Constructor Description EnchantmentPredicate(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 Enchantment Modifier and Type Method Description static EnchantmentEnchantmentArgument. getEnchantment(com.mojang.brigadier.context.CommandContext<CommandSource> p_201944_0_, java.lang.String p_201944_1_)EnchantmentEnchantmentArgument. 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 Enchantment Modifier and Type Method Description private static intEnchantCommand. enchant(CommandSource p_202651_0_, java.util.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.enchantment Modifier and Type Class Description classAquaAffinityEnchantmentclassBindingCurseEnchantmentclassChannelingEnchantmentclassDamageEnchantmentclassDepthStriderEnchantmentclassEfficiencyEnchantmentclassFireAspectEnchantmentclassFlameEnchantmentclassFrostWalkerEnchantmentclassImpalingEnchantmentclassInfinityEnchantmentclassKnockbackEnchantmentclassLootBonusEnchantmentclassLoyaltyEnchantmentclassLureEnchantmentclassMendingEnchantmentclassMultishotEnchantmentclassPiercingEnchantmentclassPowerEnchantmentclassProtectionEnchantmentclassPunchEnchantmentclassQuickChargeEnchantmentclassRespirationEnchantmentclassRiptideEnchantmentclassSilkTouchEnchantmentclassSoulSpeedEnchantmentclassSweepingEnchantmentclassThornsEnchantmentclassUnbreakingEnchantmentclassVanishingCurseEnchantmentFields in net.minecraft.enchantment with type parameters of type Enchantment Modifier and Type Field Description private ReverseTagWrapper<Enchantment>Enchantment. reverseTagsMethods in net.minecraft.enchantment that return Enchantment Modifier and Type Method Description static EnchantmentEnchantment. byId(int p_185262_0_)private static EnchantmentEnchantments. register(java.lang.String p_222191_0_, Enchantment p_222191_1_)Methods in net.minecraft.enchantment that return types with arguments of type Enchantment Modifier and Type Method Description static java.util.Map<Enchantment,java.lang.Integer>EnchantmentHelper. deserializeEnchantments(ListNBT p_226652_0_)static java.util.Map<Enchantment,java.lang.Integer>EnchantmentHelper. getEnchantments(ItemStack p_82781_0_)Methods in net.minecraft.enchantment with parameters of type Enchantment Modifier and Type Method Description voidEnchantmentHelper.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 java.util.Map.Entry<EquipmentSlotType,ItemStack>EnchantmentHelper. getRandomItemWith(Enchantment p_222189_0_, LivingEntity p_222189_1_)static java.util.Map.Entry<EquipmentSlotType,ItemStack>EnchantmentHelper. getRandomItemWith(Enchantment p_234844_0_, LivingEntity p_234844_1_, java.util.function.Predicate<ItemStack> p_234844_2_)booleanEnchantment. isCompatibleWith(Enchantment p_191560_1_)static booleanEnchantmentHelper. isEnchantmentCompatible(java.util.Collection<Enchantment> p_201840_0_, Enchantment p_201840_1_)private static EnchantmentEnchantments. register(java.lang.String p_222191_0_, Enchantment p_222191_1_)Method parameters in net.minecraft.enchantment with type arguments of type Enchantment Modifier and Type Method Description static booleanEnchantmentHelper. isEnchantmentCompatible(java.util.Collection<Enchantment> p_201840_0_, Enchantment p_201840_1_)booleanEnchantment. isIn(ITag<Enchantment> tag)static voidEnchantmentHelper. setEnchantments(java.util.Map<Enchantment,java.lang.Integer> p_82782_0_, ItemStack p_82782_1_)Constructors in net.minecraft.enchantment with parameters of type Enchantment Constructor Description EnchantmentData(Enchantment p_i1930_1_, int p_i1930_2_) -
Uses of Enchantment in net.minecraft.item
Methods in net.minecraft.item with parameters of type Enchantment Modifier and Type Method Description voidItemStack. enchant(Enchantment p_77966_1_, int p_77966_2_) -
Uses of Enchantment in net.minecraft.loot.conditions
Fields in net.minecraft.loot.conditions declared as Enchantment Modifier and Type Field Description private EnchantmentTableBonus. enchantmentMethods in net.minecraft.loot.conditions with parameters of type Enchantment Modifier and Type Method Description static ILootCondition.IBuilderTableBonus. bonusLevelFlatChance(Enchantment p_215955_0_, float... p_215955_1_)Constructors in net.minecraft.loot.conditions with parameters of type Enchantment Constructor Description TableBonus(Enchantment p_i51207_1_, float[] p_i51207_2_) -
Uses of Enchantment in net.minecraft.loot.functions
Fields in net.minecraft.loot.functions declared as Enchantment Modifier and Type Field Description private EnchantmentApplyBonus. enchantmentFields in net.minecraft.loot.functions with type parameters of type Enchantment Modifier and Type Field Description private java.util.Set<Enchantment>EnchantRandomly.Builder. enchantmentsprivate java.util.List<Enchantment>EnchantRandomly. enchantmentsMethods in net.minecraft.loot.functions with parameters of type Enchantment Modifier and Type Method Description static 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_, java.util.Random p_237420_2_)EnchantRandomly.BuilderEnchantRandomly.Builder. withEnchantment(Enchantment p_237424_1_)Constructors in net.minecraft.loot.functions with parameters of type Enchantment Constructor Description ApplyBonus(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 Enchantment Constructor Description EnchantRandomly(ILootCondition[] p_i51238_1_, java.util.Collection<Enchantment> p_i51238_2_) -
Uses of Enchantment in net.minecraft.util.registry
Fields in net.minecraft.util.registry with type parameters of type Enchantment Modifier and Type Field Description static Registry<Enchantment>Registry. ENCHANTMENTDeprecated.static RegistryKey<Registry<Enchantment>>Registry. ENCHANTMENT_REGISTRY -
Uses of Enchantment in net.minecraftforge.common.data
Methods in net.minecraftforge.common.data with parameters of type Enchantment Modifier and Type Method Description voidLanguageProvider. add(Enchantment key, java.lang.String name)Method parameters in net.minecraftforge.common.data with type arguments of type Enchantment Modifier and Type Method Description voidLanguageProvider. addEnchantment(java.util.function.Supplier<? extends Enchantment> key, java.lang.String name) -
Uses of Enchantment in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions with parameters of type Enchantment Modifier and Type Method Description default 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.loot Modifier and Type Class Description private static classGlobalLootModifiersTest.SmelterEnchantmentFields in net.minecraftforge.debug.gameplay.loot with type parameters of type Enchantment Modifier and Type Field Description private static DeferredRegister<Enchantment>GlobalLootModifiersTest. ENCHANTSprivate static RegistryObject<Enchantment>GlobalLootModifiersTest. SMELT -
Uses of Enchantment in net.minecraftforge.debug.misc
Fields in net.minecraftforge.debug.misc with type parameters of type Enchantment Modifier and Type Field Description private static ITag.INamedTag<Enchantment>CustomTagTypesTest. FIRE -
Uses of Enchantment in net.minecraftforge.registries
Fields in net.minecraftforge.registries with type parameters of type Enchantment Modifier and Type Field Description static IForgeRegistry<Enchantment>ForgeRegistries. ENCHANTMENTSstatic RegistryKey<Registry<Enchantment>>ForgeRegistries.Keys. ENCHANTMENTS
-