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

public class EnchantRandomlyFunction$Builder

extends LootItemConditionalFunction$Builder<EnchantRandomlyFunction$Builder>

All mapped superinterfaces:

LootItemFunction$Builder, ConditionUserBuilder

esu$a
net.minecraft.world.level.storage.loot.functions.EnchantRandomlyFunction$Builder
net.minecraft.class_109$class_4954
net.minecraft.loot.function.EnchantRandomlyLootFunction$Builder
net.minecraft.src.C_2906_$C_2908_
net.minecraft.world.level.storage.loot.functions.LootItemFunctionEnchant$a

Field summary

Modifier and TypeField
private Optional<HolderSet<Enchantment>>
a
options
field_51794
options
f_337221_
private boolean
b
onlyCompatible
field_51795
onlyCompatible
f_337327_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected EnchantRandomlyFunction$Builder
a()
getThis()
method_25991()
getThisBuilder()
m_6477_()
public EnchantRandomlyFunction$Builder
a(jm<dac> arg0)
withEnchantment(Holder<Enchantment> arg0)
method_25992(class_6880<class_1887> arg0)
option(RegistryEntry<Enchantment> enchantment)
m_80444_(C_203228_<C_1505_> arg0)
public EnchantRandomlyFunction$Builder
a(jq<dac> arg0)
withOneOf(HolderSet<Enchantment> arg0)
method_60293(class_6885<class_1887> arg0)
options(RegistryEntryList<Enchantment> options)
m_338501_(C_203233_<C_1505_> arg0)
public EnchantRandomlyFunction$Builder
e()
allowingIncompatibleEnchantments()
method_60294()
allowIncompatible()
m_338955_()
public LootItemFunction
b()
build()
method_515()
build()
m_7453_()