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 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
ConstructorDescriptionAlternativesLootEntry
(LootEntry[] p_i51263_1_, ILootCondition[] p_i51263_2_) -
Method Summary
Modifier and TypeMethodDescriptionalternatives
(LootEntry.Builder<?>... p_216149_0_) protected ILootEntry
compose
(ILootEntry[] p_216146_1_) 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 Details
-
AlternativesLootEntry
AlternativesLootEntry(LootEntry[] p_i51263_1_, ILootCondition[] p_i51263_2_)
-
-
Method Details
-
getType
-
compose
- Specified by:
compose
in classParentedLootEntry
-
validate
- Overrides:
validate
in classParentedLootEntry
-
alternatives
-