net.minecraft.world.item.enchantment

public class Enchantment$Builder

dac$a
net.minecraft.world.item.enchantment.Enchantment$Builder
net.minecraft.class_1887$class_9700
net.minecraft.enchantment.Enchantment$Builder
net.minecraft.src.C_1505_$C_336562_
net.minecraft.world.item.enchantment.Enchantment$a

Field summary

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

Constructor summary

ModifierConstructor
public (Enchantment$EnchantmentDefinition properties)

Method summary

Modifier and TypeMethod
public Enchantment$Builder
a(jq<dac> arg0)
exclusiveWith(HolderSet<Enchantment> arg0)
method_60061(class_6885<class_1887> arg0)
exclusiveSet(RegistryEntryList<Enchantment> exclusiveSet)
m_340290_(C_203233_<C_1505_> arg0)
public <E> Enchantment$Builder
a(kp<List<daa<E>>> arg0, E arg1, evc$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)
m_339344_(C_313543_<List<C_336434_<E>>> p_342593_, E p_344651_, C_3004_$C_3005_ arg2)
public <E> Enchantment$Builder
a(kp<List<daa<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)
m_338870_(C_313543_<List<C_336434_<E>>> p_343461_, E arg1)
public <E> Enchantment$Builder
a(kp<List<dak<E>>> arg0, dag arg1, dag arg2, E arg3, evc$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)
m_339873_(C_313543_<List<C_336488_<E>>> p_342247_, C_336515_ p_344619_, C_336515_ p_344716_, E p_344245_, C_3004_$C_3005_ arg4)
public <E> Enchantment$Builder
a(kp<List<dak<E>>> arg0, dag arg1, dag 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)
m_338464_(C_313543_<List<C_336488_<E>>> p_342145_, C_336515_ p_345458_, C_336515_ p_344837_, E arg3)
public Enchantment$Builder
a(kp<List<dar>> arg0, dar 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)
m_340456_(C_313543_<List<C_336593_>> p_344032_, C_336593_ arg1)
public <E> Enchantment$Builder
b(kp<E> arg0, E arg1)
withSpecialEffect(DataComponentType<E> arg0, E arg1)
method_60070(class_9331<E> arg0, E arg1)
addNonListEffect(ComponentType<E> type, E effect)
m_340388_(C_313543_<E> p_344148_, E arg1)
public Enchantment$Builder
a(kp<azs> arg0)
withEffect(DataComponentType<Unit> arg0)
method_60062(class_9331<class_3902> arg0)
addEffect(ComponentType<Unit> type)
m_340277_(C_313543_<C_204_> arg0)
private <E> List<E>
b(kp<List<E>> arg0)
getEffectsList(DataComponentType<List<E>> arg0)
method_60069(class_9331<List<E>> arg0)
getEffectsList(ComponentType<List<E>> type)
m_338358_(C_313543_<List<E>> arg0)
public Enchantment
a(akr arg0)
build(ResourceLocation arg0)
method_60060(class_2960 arg0)
build(Identifier id)
m_339381_(C_5265_ arg0)