Uses of Class
net.minecraft.enchantment.Enchantment.Builder
-
Uses of Enchantment.Builder in net.minecraft.enchantment
Modifier and TypeMethodDescriptionEnchantment.Builder.addEffect
(ComponentType<List<AttributeEnchantmentEffect>> type, AttributeEnchantmentEffect 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<TargetedEnchantmentEffect<E>>> type, EnchantmentEffectTarget enchanted, EnchantmentEffectTarget affected, E effect) Enchantment.Builder.addEffect
(ComponentType<List<TargetedEnchantmentEffect<E>>> type, EnchantmentEffectTarget enchanted, EnchantmentEffectTarget affected, E effect, LootCondition.Builder requirements) Enchantment.Builder.addEffect
(ComponentType<Unit> type) Enchantment.Builder.addNonListEffect
(ComponentType<E> type, 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)