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 classAlternativesLootEntry.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.Builderalternatives(LootEntry.Builder<?>... p_216149_0_)protected ILootEntrycompose(ILootEntry[] p_216146_1_)LootPoolEntryTypegetType()voidvalidate(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:
composein classParentedLootEntry
-
validate
public void validate(ValidationTracker p_225579_1_)
- Overrides:
validatein classParentedLootEntry
-
alternatives
public static AlternativesLootEntry.Builder alternatives(LootEntry.Builder<?>... p_216149_0_)
-
-