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

public class EnchantRandomlyFunction$Builder

extends LootItemConditionalFunction$Builder<EnchantRandomlyFunction$Builder>

All mapped superinterfaces:

LootItemFunction$Builder, ConditionUserBuilder

exs$a
net.minecraft.world.level.storage.loot.functions.EnchantRandomlyFunction$Builder
net.minecraft.class_109$class_4954
net.minecraft.loot.function.EnchantRandomlyLootFunction$Builder
net.minecraft.world.level.storage.loot.functions.LootItemFunctionEnchant$a

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected EnchantRandomlyFunction$Builder
a()
getThis()
method_25991()
getThisBuilder()
public EnchantRandomlyFunction$Builder
a(jq<ddz> arg0)
withEnchantment(Holder<Enchantment> arg0)
method_25992(class_6880<class_1887> arg0)
option(RegistryEntry<Enchantment> enchantment)
public EnchantRandomlyFunction$Builder
a(ju<ddz> arg0)
withOneOf(HolderSet<Enchantment> arg0)
method_60293(class_6885<class_1887> arg0)
options(RegistryEntryList<Enchantment> options)
public EnchantRandomlyFunction$Builder
e()
allowingIncompatibleEnchantments()
method_60294()
allowIncompatible()
public LootItemFunction
b()
build()
method_515()
build()