Class EnchantRandomlyFunction.Builder
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Builder<EnchantRandomlyFunction.Builder>
net.minecraft.world.level.storage.loot.functions.EnchantRandomlyFunction.Builder
- All Implemented Interfaces:
LootItemFunction.Builder
,ConditionUserBuilder<EnchantRandomlyFunction.Builder>
- Enclosing class:
- EnchantRandomlyFunction
public static class EnchantRandomlyFunction.Builder
extends LootItemConditionalFunction.Builder<EnchantRandomlyFunction.Builder>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
protected EnchantRandomlyFunction.Builder
getThis()
withEnchantment(Enchantment p_80445_)
Methods inherited from class net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Builder
getConditions, unwrap, when
-
Field Details
-
enchantments
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
getThis
- Specified by:
getThis
in classLootItemConditionalFunction.Builder<EnchantRandomlyFunction.Builder>
-
withEnchantment
-
build
-