net.minecraft.loot.function

public class EnchantWithLevelsLootFunction$Builder

extends ConditionalLootFunction$Builder<EnchantWithLevelsLootFunction$Builder>

All mapped superinterfaces:

LootFunction$Builder, LootConditionConsumingBuilder

net.minecraft.world.level.storage.loot.functions.EnchantWithLevelsFunction$Builder
net.minecraft.class_106$class_107
net.minecraft.loot.function.EnchantWithLevelsLootFunction$Builder

Field summary

Modifier and TypeField
private final LootNumberProvider
levels
field_1028
levels
private Optional<RegistryEntryList<Enchantment>>
options
field_51797
options
private boolean
includeAdditionalCostComponent
field_1_823
includeAdditionalCostComponent

Constructor summary

ModifierConstructor
public (LootNumberProvider levels)

Method summary

Modifier and TypeMethod
protected EnchantWithLevelsLootFunction$Builder
getThis()
method_523()
getThisBuilder()
public EnchantWithLevelsLootFunction$Builder
withOptions(HolderSet<Enchantment> tag)
method_60295(class_6885<class_1887> arg0)
options(RegistryEntryList<Enchantment> options)
public EnchantWithLevelsLootFunction$Builder
withOptions(Optional<HolderSet<Enchantment>> options)
method_1_772(Optional<class_6885<class_1887>> arg0)
options(Optional<RegistryEntryList<Enchantment>> options)
public EnchantWithLevelsLootFunction$Builder
includeAdditionalCostComponent()
method_1_771()
includeAdditionalCostComponent()
public LootFunction
build()
method_515()
build()
protected ConditionalLootFunction$Builder
getThis()
method_523()
getThisBuilder()