Package net.minecraft.loot
Class AlternativesLootEntry
- java.lang.Object
-
- net.minecraft.loot.LootEntry
-
- net.minecraft.loot.ParentedLootEntry
-
- net.minecraft.loot.AlternativesLootEntry
-
- All Implemented Interfaces:
ILootEntry
public class AlternativesLootEntry extends ParentedLootEntry
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AlternativesLootEntry.Builder
-
Nested classes/interfaces inherited from class net.minecraft.loot.ParentedLootEntry
ParentedLootEntry.IFactory<T extends ParentedLootEntry>
-
Nested classes/interfaces inherited from class net.minecraft.loot.LootEntry
LootEntry.Serializer<T extends LootEntry>
-
-
Field Summary
-
Fields inherited from class net.minecraft.loot.ParentedLootEntry
children
-
Fields inherited from class net.minecraft.loot.LootEntry
conditions
-
Fields inherited from interface net.minecraft.loot.ILootEntry
ALWAYS_FALSE, ALWAYS_TRUE
-
-
Constructor Summary
Constructors Constructor Description AlternativesLootEntry(LootEntry[] p_i51263_1_, ILootCondition[] p_i51263_2_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AlternativesLootEntry.Builder
alternatives(LootEntry.Builder<?>... p_216149_0_)
protected ILootEntry
compose(ILootEntry[] p_216146_1_)
LootPoolEntryType
getType()
void
validate(ValidationTracker p_225579_1_)
-
Methods inherited from class net.minecraft.loot.ParentedLootEntry
createSerializer, expand
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraft.loot.ILootEntry
and, or
-
-
-
-
Constructor Detail
-
AlternativesLootEntry
AlternativesLootEntry(LootEntry[] p_i51263_1_, ILootCondition[] p_i51263_2_)
-
-
Method Detail
-
getType
public LootPoolEntryType getType()
-
compose
protected ILootEntry compose(ILootEntry[] p_216146_1_)
- Specified by:
compose
in classParentedLootEntry
-
validate
public void validate(ValidationTracker p_225579_1_)
- Overrides:
validate
in classParentedLootEntry
-
alternatives
public static AlternativesLootEntry.Builder alternatives(LootEntry.Builder<?>... p_216149_0_)
-
-