public static class LootingEnchantLootFunction.Builder extends ConditionalLootFunction.Builder<LootingEnchantLootFunction.Builder>
Modifier and Type | Field and Description |
---|---|
private UniformLootTableRange |
countRange |
private int |
limit |
Constructor and Description |
---|
Builder(UniformLootTableRange countRange) |
Modifier and Type | Method and Description |
---|---|
LootFunction |
build() |
protected LootingEnchantLootFunction.Builder |
getThisBuilder() |
LootingEnchantLootFunction.Builder |
withLimit(int limit) |
conditionally, getConditions, getThis
private final UniformLootTableRange countRange
private int limit
public Builder(UniformLootTableRange countRange)
protected LootingEnchantLootFunction.Builder getThisBuilder()
getThisBuilder
in class ConditionalLootFunction.Builder<LootingEnchantLootFunction.Builder>
public LootingEnchantLootFunction.Builder withLimit(int limit)
public LootFunction build()