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
-
Nested Class Summary
Nested ClassesNested 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
childrenFields inherited from class net.minecraft.loot.LootEntry
conditionsFields inherited from interface net.minecraft.loot.ILootEntry
ALWAYS_FALSE, ALWAYS_TRUE -
Constructor Summary
ConstructorsConstructorDescriptionAlternativesLootEntry(LootEntry[] p_i51263_1_, ILootCondition[] p_i51263_2_) -
Method Summary
Modifier and TypeMethodDescriptionalternatives(LootEntry.Builder<?>... p_216149_0_) protected ILootEntrycompose(ILootEntry[] p_216146_1_) getType()voidvalidate(ValidationTracker p_225579_1_) Methods inherited from class net.minecraft.loot.ParentedLootEntry
createSerializer, expandMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.loot.ILootEntry
and, or
-
Constructor Details
-
AlternativesLootEntry
AlternativesLootEntry(LootEntry[] p_i51263_1_, ILootCondition[] p_i51263_2_)
-
-
Method Details
-
getType
-
compose
- Specified by:
composein classParentedLootEntry
-
validate
- Overrides:
validatein classParentedLootEntry
-
alternatives
-