Class EnchantWithLevelsFunction.Builder
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Builder<EnchantWithLevelsFunction.Builder>
net.minecraft.world.level.storage.loot.functions.EnchantWithLevelsFunction.Builder
- All Implemented Interfaces:
LootItemFunction.Builder
,ConditionUserBuilder<EnchantWithLevelsFunction.Builder>
- Enclosing class:
EnchantWithLevelsFunction
public static class EnchantWithLevelsFunction.Builder
extends LootItemConditionalFunction.Builder<EnchantWithLevelsFunction.Builder>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final NumberProvider
private Optional
<HolderSet<Enchantment>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
fromOptions
(HolderSet<Enchantment> p_343865_) protected EnchantWithLevelsFunction.Builder
getThis()
Methods inherited from class net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Builder
getConditions, unwrap, when
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.level.storage.loot.predicates.ConditionUserBuilder
when
-
Field Details
-
levels
-
options
-
-
Constructor Details
-
Builder
-
-
Method Details
-
getThis
- Specified by:
getThis
in classLootItemConditionalFunction.Builder<EnchantWithLevelsFunction.Builder>
-
fromOptions
-
build
-