net.minecraft.world.item.enchantment.providers

public interface EnchantmentProvider

dfh
net.minecraft.world.item.enchantment.providers.EnchantmentProvider
net.minecraft.class_9741
net.minecraft.enchantment.provider.EnchantmentProvider
net.minecraft.world.item.enchantment.providers.EnchantmentProvider

Field summary

Modifier and TypeField
com.mojang.serialization.Codec<EnchantmentProvider>
a
DIRECT_CODEC
field_51731
CODEC

Method summary

Modifier and TypeMethod
void
a(cxp arg0, def$a arg1, bam arg2, bth arg3)
enchant(ItemStack arg0, ItemEnchantments$Mutable arg1, RandomSource arg2, DifficultyInstance arg3)
method_60266(class_1799 arg0, class_9304$class_9305 arg1, class_5819 arg2, class_1266 arg3)
provideEnchantments(ItemStack stack, ItemEnchantmentsComponent$Builder componentBuilder, Random random, LocalDifficulty localDifficulty)
com.mojang.serialization.MapCodec<? extends EnchantmentProvider>
a()
codec()
method_60265()
getCodec()