public static class LootContextType.Builder extends Object
| Modifier and Type | Field and Description |
|---|---|
private Set<LootContextParameter<?>> |
allowed |
private Set<LootContextParameter<?>> |
required |
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
LootContextType.Builder |
allow(LootContextParameter<?> parameter) |
LootContextType |
build() |
LootContextType.Builder |
require(LootContextParameter<?> parameter) |
private final Set<LootContextParameter<?>> required
private final Set<LootContextParameter<?>> allowed
public LootContextType.Builder require(LootContextParameter<?> parameter)
public LootContextType.Builder allow(LootContextParameter<?> parameter)
public LootContextType build()