public static class EnchantRandomlyLootFunction.Builder extends ConditionalLootFunction.Builder<EnchantRandomlyLootFunction.Builder>
| Modifier and Type | Field and Description |
|---|---|
private Set<Enchantment> |
enchantments |
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
EnchantRandomlyLootFunction.Builder |
add(Enchantment enchantment) |
LootFunction |
build() |
protected EnchantRandomlyLootFunction.Builder |
getThisBuilder() |
conditionally, getConditions, getThisprivate final Set<Enchantment> enchantments
protected EnchantRandomlyLootFunction.Builder getThisBuilder()
getThisBuilder in class ConditionalLootFunction.Builder<EnchantRandomlyLootFunction.Builder>public EnchantRandomlyLootFunction.Builder add(Enchantment enchantment)
public LootFunction build()