net.minecraft.world.level.storage.loot.functions

public class SetEnchantmentsFunction$Builder

extends LootItemConditionalFunction$Builder<SetEnchantmentsFunction$Builder>

All mapped superinterfaces:

LootItemFunction$Builder, ConditionUserBuilder

ets$a
net.minecraft.world.level.storage.loot.functions.SetEnchantmentsFunction$Builder
net.minecraft.class_5642$class_6158
net.minecraft.loot.function.SetEnchantmentsLootFunction$Builder
net.minecraft.src.C_141470_$C_141471_
net.minecraft.world.level.storage.loot.functions.SetEnchantmentsFunction$a

Field summary

Modifier and TypeField
private final com.google.common.collect.ImmutableMap$Builder<Holder<Enchantment>, NumberProvider>
a
enchantments
field_31864
enchantments
f_165368_
private final boolean
b
add
field_31865
add
f_165369_

Constructor summary

ModifierConstructor
public ()
public (boolean add)

Method summary

Modifier and TypeMethod
protected SetEnchantmentsFunction$Builder
a()
getThis()
method_35538()
getThisBuilder()
m_6477_()
public SetEnchantmentsFunction$Builder
a(jm<dac> arg0, evy arg1)
withEnchantment(Holder<Enchantment> arg0, NumberProvider arg1)
method_35539(class_6880<class_1887> arg0, class_5658 arg1)
enchantment(RegistryEntry<Enchantment> enchantment, LootNumberProvider level)
m_165374_(C_203228_<C_1505_> p_165376_, C_141501_ arg1)
public LootItemFunction
b()
build()
method_515()
build()
m_7453_()