Package net.minecraft.loot.functions
Class EnchantRandomly.Builder
- java.lang.Object
-
- net.minecraft.loot.LootFunction.Builder<EnchantRandomly.Builder>
-
- net.minecraft.loot.functions.EnchantRandomly.Builder
-
- All Implemented Interfaces:
ILootFunction.IBuilder
,ILootConditionConsumer<EnchantRandomly.Builder>
- Enclosing class:
- EnchantRandomly
public static class EnchantRandomly.Builder extends LootFunction.Builder<EnchantRandomly.Builder>
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Set<Enchantment>
enchantments
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ILootFunction
build()
protected EnchantRandomly.Builder
getThis()
EnchantRandomly.Builder
withEnchantment(Enchantment p_237424_1_)
-
Methods inherited from class net.minecraft.loot.LootFunction.Builder
getConditions, unwrap, when
-
-
-
-
Field Detail
-
enchantments
private final java.util.Set<Enchantment> enchantments
-
-
Method Detail
-
getThis
protected EnchantRandomly.Builder getThis()
- Specified by:
getThis
in classLootFunction.Builder<EnchantRandomly.Builder>
-
withEnchantment
public EnchantRandomly.Builder withEnchantment(Enchantment p_237424_1_)
-
build
public ILootFunction build()
-
-