public static class LootParameterSet.Builder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.Set<LootParameter<?>> |
optional |
private java.util.Set<LootParameter<?>> |
required |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
LootParameterSet |
build() |
LootParameterSet.Builder |
optional(LootParameter<?> parameter) |
LootParameterSet.Builder |
required(LootParameter<?> parameter) |
private final java.util.Set<LootParameter<?>> required
private final java.util.Set<LootParameter<?>> optional
public LootParameterSet.Builder required(LootParameter<?> parameter)
public LootParameterSet.Builder optional(LootParameter<?> parameter)
public LootParameterSet build()