net.minecraft.world.item.enchantment

public class Enchantment$Builder

dda$a
net.minecraft.world.item.enchantment.Enchantment$Builder
net.minecraft.class_1887$class_9700
net.minecraft.enchantment.Enchantment$Builder
net.minecraft.world.item.enchantment.Enchantment$a

Field summary

Modifier and TypeField
private final Enchantment$EnchantmentDefinition
a
definition
field_51645
definition
private HolderSet<Enchantment>
b
exclusiveSet
field_51646
exclusiveSet
private final Map<DataComponentType<?>, List<?>>
c
effectLists
field_51647
effectLists
private final DataComponentMap$Builder
d
effectMapBuilder
field_51648
effectMap

Constructor summary

ModifierConstructor
public (Enchantment$EnchantmentDefinition properties)

Method summary

Modifier and TypeMethod
public Enchantment$Builder
a(jv<dda> arg0)
exclusiveWith(HolderSet<Enchantment> arg0)
method_60061(class_6885<class_1887> arg0)
exclusiveSet(RegistryEntryList<Enchantment> exclusiveSet)
public <E> Enchantment$Builder
a(ku<List<dcx<E>>> arg0, E arg1, ezb$a arg2)
withEffect(DataComponentType<List<ConditionalEffect<E>>> arg0, E arg1, LootItemCondition$Builder arg2)
method_60067(class_9331<List<class_9698<E>>> arg0, E arg1, class_5341$class_210 arg2)
addEffect(ComponentType<List<EnchantmentEffectEntry<E>>> effectType, E effect, LootCondition$Builder requirements)
public <E> Enchantment$Builder
a(ku<List<dcx<E>>> arg0, E arg1)
withEffect(DataComponentType<List<ConditionalEffect<E>>> arg0, E arg1)
method_60066(class_9331<List<class_9698<E>>> arg0, E arg1)
addEffect(ComponentType<List<EnchantmentEffectEntry<E>>> effectType, E effect)
public <E> Enchantment$Builder
a(ku<List<ddj<E>>> arg0, dde arg1, dde arg2, E arg3, ezb$a arg4)
withEffect(DataComponentType<List<TargetedConditionalEffect<E>>> arg0, EnchantmentTarget arg1, EnchantmentTarget arg2, E arg3, LootItemCondition$Builder arg4)
method_60064(class_9331<List<class_9710<E>>> arg0, class_9703 arg1, class_9703 arg2, E arg3, class_5341$class_210 arg4)
addEffect(ComponentType<List<TargetedEnchantmentEffect<E>>> type, EnchantmentEffectTarget enchanted, EnchantmentEffectTarget affected, E effect, LootCondition$Builder requirements)
public <E> Enchantment$Builder
a(ku<List<ddj<E>>> arg0, dde arg1, dde arg2, E arg3)
withEffect(DataComponentType<List<TargetedConditionalEffect<E>>> arg0, EnchantmentTarget arg1, EnchantmentTarget arg2, E arg3)
method_60063(class_9331<List<class_9710<E>>> arg0, class_9703 arg1, class_9703 arg2, E arg3)
addEffect(ComponentType<List<TargetedEnchantmentEffect<E>>> type, EnchantmentEffectTarget enchanted, EnchantmentEffectTarget affected, E effect)
public Enchantment$Builder
a(ku<List<ddq>> arg0, ddq arg1)
withEffect(DataComponentType<List<EnchantmentAttributeEffect>> arg0, EnchantmentAttributeEffect arg1)
method_60065(class_9331<List<class_9720>> arg0, class_9720 arg1)
addEffect(ComponentType<List<AttributeEnchantmentEffect>> type, AttributeEnchantmentEffect effect)
public <E> Enchantment$Builder
b(ku<E> arg0, E arg1)
withSpecialEffect(DataComponentType<E> arg0, E arg1)
method_60070(class_9331<E> arg0, E arg1)
addNonListEffect(ComponentType<E> type, E effect)
public Enchantment$Builder
a(ku<baf> arg0)
withEffect(DataComponentType<Unit> arg0)
method_60062(class_9331<class_3902> arg0)
addEffect(ComponentType<Unit> type)
private <E> List<E>
b(ku<List<E>> arg0)
getEffectsList(DataComponentType<List<E>> arg0)
method_60069(class_9331<List<E>> arg0)
getEffectsList(ComponentType<List<E>> type)
public Enchantment
a(akv arg0)
build(ResourceLocation arg0)
method_60060(class_2960 arg0)
build(Identifier id)