Uses of Interface
net.minecraft.world.item.enchantment.providers.EnchantmentProvider
Package
Description
-
Uses of EnchantmentProvider in net.minecraft.core.registries
Modifier and TypeFieldDescriptionstatic final ResourceKey
<Registry<EnchantmentProvider>> Registries.ENCHANTMENT_PROVIDER
static final Registry
<com.mojang.serialization.MapCodec<? extends EnchantmentProvider>> BuiltInRegistries.ENCHANTMENT_PROVIDER_TYPE
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentProvider>>> Registries.ENCHANTMENT_PROVIDER_TYPE
-
Uses of EnchantmentProvider in net.minecraft.world.entity.npc
Modifier and TypeFieldDescriptionprivate final Optional
<ResourceKey<EnchantmentProvider>> VillagerTrades.ItemsAndEmeraldsToItems.enchantmentProvider
private final Optional
<ResourceKey<EnchantmentProvider>> VillagerTrades.ItemsForEmeralds.enchantmentProvider
ModifierConstructorDescriptionItemsAndEmeraldsToItems
(ItemCost p_345481_, int p_345494_, ItemStack p_345223_, int p_345894_, int p_344894_, float p_345457_, Optional<ResourceKey<EnchantmentProvider>> p_346401_) (package private)
ItemsAndEmeraldsToItems
(ItemLike p_345985_, int p_320882_, int p_320089_, ItemLike p_345218_, int p_320458_, int p_345627_, int p_345902_, float p_319962_, ResourceKey<EnchantmentProvider> p_345388_) ItemsForEmeralds
(Item p_345085_, int p_346208_, int p_345650_, int p_345298_, int p_345652_, float p_346098_, ResourceKey<EnchantmentProvider> p_345759_) ItemsForEmeralds
(ItemStack p_344989_, int p_345411_, int p_345770_, int p_344818_, int p_345507_, float p_344802_, Optional<ResourceKey<EnchantmentProvider>> p_345806_) -
Uses of EnchantmentProvider in net.minecraft.world.item.enchantment
Modifier and TypeMethodDescriptionstatic void
EnchantmentHelper.enchantItemFromProvider
(ItemStack p_345172_, RegistryAccess p_348593_, ResourceKey<EnchantmentProvider> p_345876_, DifficultyInstance p_348599_, RandomSource p_345717_) -
Uses of EnchantmentProvider in net.minecraft.world.item.enchantment.providers
Modifier and TypeClassDescriptionfinal record
final record
final record
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<EnchantmentProvider> EnchantmentProvider.DIRECT_CODEC
static final ResourceKey
<EnchantmentProvider> VanillaEnchantmentProviders.ENDERMAN_LOOT_DROP
static final ResourceKey
<EnchantmentProvider> VanillaEnchantmentProviders.MOB_SPAWN_EQUIPMENT
static final ResourceKey
<EnchantmentProvider> VanillaEnchantmentProviders.PILLAGER_SPAWN_CROSSBOW
static final ResourceKey
<EnchantmentProvider> VanillaEnchantmentProviders.RAID_PILLAGER_POST_WAVE_3
static final ResourceKey
<EnchantmentProvider> VanillaEnchantmentProviders.RAID_PILLAGER_POST_WAVE_5
static final ResourceKey
<EnchantmentProvider> VanillaEnchantmentProviders.RAID_VINDICATOR
static final ResourceKey
<EnchantmentProvider> VanillaEnchantmentProviders.RAID_VINDICATOR_POST_WAVE_5
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_DESERT_ARMORER_BOOTS_4
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_DESERT_ARMORER_CHESTPLATE_4
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_DESERT_ARMORER_CHESTPLATE_5
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_DESERT_ARMORER_HELMET_4
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_DESERT_ARMORER_LEGGINGS_4
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_DESERT_ARMORER_LEGGINGS_5
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_JUNGLE_ARMORER_BOOTS_4
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_JUNGLE_ARMORER_BOOTS_5
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_JUNGLE_ARMORER_CHESTPLATE_4
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_JUNGLE_ARMORER_HELMET_4
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_JUNGLE_ARMORER_HELMET_5
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_JUNGLE_ARMORER_LEGGINGS_4
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_PLAINS_ARMORER_BOOTS_4
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_PLAINS_ARMORER_BOOTS_5
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_PLAINS_ARMORER_CHESTPLATE_4
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_PLAINS_ARMORER_HELMET_4
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_PLAINS_ARMORER_LEGGINGS_4
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_PLAINS_ARMORER_LEGGINGS_5
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SAVANNA_ARMORER_BOOTS_4
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SAVANNA_ARMORER_CHESTPLATE_4
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SAVANNA_ARMORER_CHESTPLATE_5
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SAVANNA_ARMORER_HELMET_4
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SAVANNA_ARMORER_HELMET_5
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SAVANNA_ARMORER_LEGGINGS_4
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SNOW_ARMORER_BOOTS_4
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SNOW_ARMORER_BOOTS_5
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SNOW_ARMORER_HELMET_4
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SNOW_ARMORER_HELMET_5
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SWAMP_ARMORER_BOOTS_4
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SWAMP_ARMORER_BOOTS_5
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SWAMP_ARMORER_CHESTPLATE_4
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SWAMP_ARMORER_HELMET_4
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SWAMP_ARMORER_HELMET_5
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SWAMP_ARMORER_LEGGINGS_4
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_TAIGA_ARMORER_CHESTPLATE_5
static final ResourceKey
<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_TAIGA_ARMORER_LEGGINGS_5
Modifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec
<? extends EnchantmentProvider> EnchantmentProviderTypes.bootstrap
(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentProvider>> p_346162_) com.mojang.serialization.MapCodec
<? extends EnchantmentProvider> EnchantmentProvider.codec()
static ResourceKey
<EnchantmentProvider> Modifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec
<? extends EnchantmentProvider> EnchantmentProviderTypes.bootstrap
(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentProvider>> p_346162_) static void
TradeRebalanceEnchantmentProviders.bootstrap
(BootstrapContext<EnchantmentProvider> p_345608_) static void
VanillaEnchantmentProviders.bootstrap
(BootstrapContext<EnchantmentProvider> p_345084_)