@FunctionalInterface interface EntryCombiner
Modifier and Type | Field and Description |
---|---|
static EntryCombiner |
ALWAYS_FALSE |
static EntryCombiner |
ALWAYS_TRUE |
Modifier and Type | Method and Description |
---|---|
default EntryCombiner |
and(EntryCombiner other) |
boolean |
expand(LootContext context,
Consumer<LootChoice> choiceConsumer) |
default EntryCombiner |
or(EntryCombiner other) |
static final EntryCombiner ALWAYS_FALSE
static final EntryCombiner ALWAYS_TRUE
boolean expand(LootContext context, Consumer<LootChoice> choiceConsumer)
default EntryCombiner and(EntryCombiner other)
default EntryCombiner or(EntryCombiner other)