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

public class SetEnchantmentsFunction$Builder

extends LootItemConditionalFunction$Builder<SetEnchantmentsFunction$Builder>

All mapped superinterfaces:

LootItemFunction$Builder, ConditionUserBuilder

eyq$a
net.minecraft.world.level.storage.loot.functions.SetEnchantmentsFunction$Builder
net.minecraft.class_5642$class_6158
net.minecraft.loot.function.SetEnchantmentsLootFunction$Builder
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
private final boolean
b
add
field_31865
add

Constructor summary

ModifierConstructor
public ()
public (boolean add)

Method summary

Modifier and TypeMethod
protected SetEnchantmentsFunction$Builder
a()
getThis()
method_35538()
getThisBuilder()
public SetEnchantmentsFunction$Builder
a(jq<ddz> arg0, fau arg1)
withEnchantment(Holder<Enchantment> arg0, NumberProvider arg1)
method_35539(class_6880<class_1887> arg0, class_5658 arg1)
enchantment(RegistryEntry<Enchantment> enchantment, LootNumberProvider level)
public LootItemFunction
b()
build()
method_515()
build()