Package net.minecraft.loot
Class ParentedLootEntry
java.lang.Object
net.minecraft.loot.LootEntry
net.minecraft.loot.ParentedLootEntry
- All Implemented Interfaces:
ILootEntry
- Direct Known Subclasses:
AlternativesLootEntry,GroupLootEntry,SequenceLootEntry
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceParentedLootEntry.IFactory<T extends ParentedLootEntry>Nested classes/interfaces inherited from class net.minecraft.loot.LootEntry
LootEntry.Builder<T extends LootEntry.Builder<T>>, LootEntry.Serializer<T extends LootEntry> -
Field Summary
FieldsFields inherited from class net.minecraft.loot.LootEntry
conditionsFields inherited from interface net.minecraft.loot.ILootEntry
ALWAYS_FALSE, ALWAYS_TRUE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedParentedLootEntry(LootEntry[] p_i51262_1_, ILootCondition[] p_i51262_2_) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ILootEntrycompose(ILootEntry[] p_216146_1_) static <T extends ParentedLootEntry>
LootEntry.Serializer<T>createSerializer(ParentedLootEntry.IFactory<T> p_237409_0_) final booleanexpand(LootContext p_expand_1_, Consumer<ILootGenerator> p_expand_2_) voidvalidate(ValidationTracker p_225579_1_) Methods 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
-
Field Details
-
children
-
composedChildren
-
-
Constructor Details
-
ParentedLootEntry
-
-
Method Details
-
validate
-
compose
-
expand
-
createSerializer
public static <T extends ParentedLootEntry> LootEntry.Serializer<T> createSerializer(ParentedLootEntry.IFactory<T> p_237409_0_)
-