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 TypeMethodDescriptionboolean
EnchantmentPredicate.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 Enchantment
EnchantmentArgument.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 int
EnchantCommand.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 TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Fields in net.minecraft.enchantment declared as EnchantmentModifier and TypeFieldDescriptionstatic final Enchantment
Enchantments.ALL_DAMAGE_PROTECTION
static final Enchantment
Enchantments.AQUA_AFFINITY
static final Enchantment
Enchantments.BANE_OF_ARTHROPODS
static final Enchantment
Enchantments.BINDING_CURSE
static final Enchantment
Enchantments.BLAST_PROTECTION
static final Enchantment
Enchantments.BLOCK_EFFICIENCY
static final Enchantment
Enchantments.BLOCK_FORTUNE
static final Enchantment
Enchantments.CHANNELING
static final Enchantment
Enchantments.DEPTH_STRIDER
final Enchantment
EnchantmentData.enchantment
static final Enchantment
Enchantments.FALL_PROTECTION
static final Enchantment
Enchantments.FIRE_ASPECT
static final Enchantment
Enchantments.FIRE_PROTECTION
static final Enchantment
Enchantments.FISHING_LUCK
static final Enchantment
Enchantments.FISHING_SPEED
static final Enchantment
Enchantments.FLAMING_ARROWS
static final Enchantment
Enchantments.FROST_WALKER
static final Enchantment
Enchantments.IMPALING
static final Enchantment
Enchantments.INFINITY_ARROWS
static final Enchantment
Enchantments.KNOCKBACK
static final Enchantment
Enchantments.LOYALTY
static final Enchantment
Enchantments.MENDING
static final Enchantment
Enchantments.MOB_LOOTING
static final Enchantment
Enchantments.MULTISHOT
static final Enchantment
Enchantments.PIERCING
static final Enchantment
Enchantments.POWER_ARROWS
static final Enchantment
Enchantments.PROJECTILE_PROTECTION
static final Enchantment
Enchantments.PUNCH_ARROWS
static final Enchantment
Enchantments.QUICK_CHARGE
static final Enchantment
Enchantments.RESPIRATION
static final Enchantment
Enchantments.RIPTIDE
static final Enchantment
Enchantments.SHARPNESS
static final Enchantment
Enchantments.SILK_TOUCH
static final Enchantment
Enchantments.SMITE
static final Enchantment
Enchantments.SOUL_SPEED
static final Enchantment
Enchantments.SWEEPING_EDGE
static final Enchantment
Enchantments.THORNS
static final Enchantment
Enchantments.UNBREAKING
static final Enchantment
Enchantments.VANISHING_CURSE
Fields in net.minecraft.enchantment with type parameters of type EnchantmentModifier and TypeFieldDescriptionprivate final ReverseTagWrapper<Enchantment>
Enchantment.reverseTags
Methods in net.minecraft.enchantment that return EnchantmentModifier and TypeMethodDescriptionstatic Enchantment
Enchantment.byId
(int p_185262_0_) private static Enchantment
Enchantments.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 TypeMethodDescriptionvoid
EnchantmentHelper.IEnchantmentVisitor.accept
(Enchantment p_accept_1_, int p_accept_2_) boolean
ChannelingEnchantment.checkCompatibility
(Enchantment p_77326_1_) boolean
DamageEnchantment.checkCompatibility
(Enchantment p_77326_1_) boolean
DepthStriderEnchantment.checkCompatibility
(Enchantment p_77326_1_) protected boolean
Enchantment.checkCompatibility
(Enchantment p_77326_1_) boolean
FrostWalkerEnchantment.checkCompatibility
(Enchantment p_77326_1_) boolean
InfinityEnchantment.checkCompatibility
(Enchantment p_77326_1_) boolean
LootBonusEnchantment.checkCompatibility
(Enchantment p_77326_1_) boolean
LoyaltyEnchantment.checkCompatibility
(Enchantment p_77326_1_) boolean
MultishotEnchantment.checkCompatibility
(Enchantment p_77326_1_) boolean
PiercingEnchantment.checkCompatibility
(Enchantment p_77326_1_) boolean
ProtectionEnchantment.checkCompatibility
(Enchantment p_77326_1_) boolean
RiptideEnchantment.checkCompatibility
(Enchantment p_77326_1_) boolean
SilkTouchEnchantment.checkCompatibility
(Enchantment p_77326_1_) static int
EnchantmentHelper.getEnchantmentLevel
(Enchantment p_185284_0_, LivingEntity p_185284_1_) static int
EnchantmentHelper.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 boolean
Enchantment.isCompatibleWith
(Enchantment p_191560_1_) static boolean
EnchantmentHelper.isEnchantmentCompatible
(Collection<Enchantment> p_201840_0_, Enchantment p_201840_1_) private static Enchantment
Enchantments.register
(String p_222191_0_, Enchantment p_222191_1_) Method parameters in net.minecraft.enchantment with type arguments of type EnchantmentModifier and TypeMethodDescriptionstatic boolean
EnchantmentHelper.isEnchantmentCompatible
(Collection<Enchantment> p_201840_0_, Enchantment p_201840_1_) boolean
Enchantment.isIn
(ITag<Enchantment> tag) static void
EnchantmentHelper.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.IBuilder
TableBonus.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.enchantments
private final List<Enchantment>
EnchantRandomly.enchantments
Methods 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 ItemStack
EnchantRandomly.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 EnchantmentModifierConstructorDescriptionprivate
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 EnchantmentModifierConstructorDescriptionprivate
EnchantRandomly
(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.ENCHANTMENT
Deprecated.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 TypeMethodDescriptionvoid
LanguageProvider.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 boolean
IForgeItem.canApplyAtEnchantingTable
(ItemStack stack, Enchantment enchantment) Checks whether an item can be enchanted with a certain enchantment.default boolean
IForgeItemStack.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.ENCHANTS
private 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.ENCHANTMENTS
static final RegistryKey<Registry<Enchantment>>
ForgeRegistries.Keys.ENCHANTMENTS