Uses of Class
net.minecraft.enchantment.Enchantment.Builder
-
Uses of Enchantment.Builder in net.minecraft.enchantment
Modifier and TypeMethodDescriptionEnchantment.Builder.addEffect
(ComponentType<List<AttributeEnchantmentEffectType>> effectType, AttributeEnchantmentEffectType effect) Enchantment.Builder.addEffect
(ComponentType<List<EnchantmentEffectEntry<E>>> effectType, E effect) Enchantment.Builder.addEffect
(ComponentType<List<EnchantmentEffectEntry<E>>> effectType, E effect, LootCondition.Builder requirements) Enchantment.Builder.addEffect
(ComponentType<List<TargetedEnchantmentEffectType<E>>> effectType, EnchantmentEffectTarget enchanted, EnchantmentEffectTarget affected, E effect) Enchantment.Builder.addEffect
(ComponentType<List<TargetedEnchantmentEffectType<E>>> effectType, EnchantmentEffectTarget enchanted, EnchantmentEffectTarget affected, E effect, LootCondition.Builder requirements) Enchantment.Builder.addEffect
(ComponentType<Unit> effectType) Enchantment.Builder.addNonListEffect
(ComponentType<E> effectType, E effect) static Enchantment.Builder
Enchantment.builder
(Enchantment.Definition definition) Enchantment.Builder.exclusiveSet
(RegistryEntryList<Enchantment> exclusiveSet) Modifier and TypeMethodDescriptionprivate static void
Enchantments.register
(Registerable<Enchantment> registry, RegistryKey<Enchantment> key, Enchantment.Builder builder)