Package net.minecraft.loot.entry
Class AlternativeEntry
java.lang.Object
net.minecraft.loot.entry.LootPoolEntry
net.minecraft.loot.entry.CombinedEntry
net.minecraft.loot.entry.AlternativeEntry
- All Implemented Interfaces:
EntryCombiner
public class AlternativeEntry extends CombinedEntry
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAlternativeEntry.BuilderNested classes/interfaces inherited from class net.minecraft.loot.entry.CombinedEntry
CombinedEntry.Factory<T extends CombinedEntry>Nested classes/interfaces inherited from class net.minecraft.loot.entry.LootPoolEntry
LootPoolEntry.Serializer<T extends LootPoolEntry> -
Field Summary
-
Constructor Summary
Constructors Constructor Description AlternativeEntry(LootPoolEntry[] children, LootCondition[] conditions) -
Method Summary
Modifier and Type Method Description static AlternativeEntry.Builderbuilder(LootPoolEntry.Builder<?>[] children)protected EntryCombinercombine(EntryCombiner[] children)LootPoolEntryTypegetType()voidvalidate(LootTableReporter reporter)
-
Constructor Details
-
AlternativeEntry
AlternativeEntry(LootPoolEntry[] children, LootCondition[] conditions)
-
-
Method Details
-
getType
- Specified by:
getTypein classLootPoolEntry
-
combine
- Specified by:
combinein classCombinedEntry
-
validate
- Overrides:
validatein classCombinedEntry
-
builder
-