Package net.minecraft.loot
Interface ILootEntry
-
- All Known Implementing Classes:
AlternativesLootEntry,DynamicLootEntry,EmptyLootEntry,GroupLootEntry,ItemLootEntry,LootEntry,ParentedLootEntry,SequenceLootEntry,StandaloneLootEntry,TableLootEntry,TagLootEntry
- 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 ILootEntry
-
-
Field Summary
Fields Modifier and Type Field Description static ILootEntryALWAYS_FALSEstatic ILootEntryALWAYS_TRUE
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ILootEntryand(ILootEntry p_216133_1_)booleanexpand(LootContext p_expand_1_, java.util.function.Consumer<ILootGenerator> p_expand_2_)default ILootEntryor(ILootEntry p_216135_1_)
-
-
-
Field Detail
-
ALWAYS_FALSE
static final ILootEntry ALWAYS_FALSE
-
ALWAYS_TRUE
static final ILootEntry ALWAYS_TRUE
-
-
Method Detail
-
expand
boolean expand(LootContext p_expand_1_, java.util.function.Consumer<ILootGenerator> p_expand_2_)
-
and
default ILootEntry and(ILootEntry p_216133_1_)
-
or
default ILootEntry or(ILootEntry p_216135_1_)
-
-