Package net.minecraft.loot.entry
Interface EntryCombiner
- All Known Implementing Classes:
AlternativeEntry
,CombinedEntry
,DynamicEntry
,EmptyEntry
,GroupEntry
,ItemEntry
,LeafEntry
,LootPoolEntry
,LootTableEntry
,SequenceEntry
,TagEntry
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface interface EntryCombiner
-
Field Summary
Fields Modifier and Type Field Description static EntryCombiner
ALWAYS_FALSE
static EntryCombiner
ALWAYS_TRUE
-
Method Summary
Modifier and Type Method Description default EntryCombiner
and(EntryCombiner other)
boolean
expand(LootContext context, Consumer<LootChoice> choiceConsumer)
default EntryCombiner
or(EntryCombiner other)
-
Field Details
-
ALWAYS_FALSE
-
ALWAYS_TRUE
-
-
Method Details
-
expand
-
and
-
or
-