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
Modifier and TypeClassDescriptionstatic interface
ParentedLootEntry.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
Fields inherited from class net.minecraft.loot.LootEntry
conditions
Fields inherited from interface net.minecraft.loot.ILootEntry
ALWAYS_FALSE, ALWAYS_TRUE
-
Constructor Summary
ModifierConstructorDescriptionprotected
ParentedLootEntry
(LootEntry[] p_i51262_1_, ILootCondition[] p_i51262_2_) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ILootEntry
compose
(ILootEntry[] p_216146_1_) static <T extends ParentedLootEntry>
LootEntry.Serializer<T>createSerializer
(ParentedLootEntry.IFactory<T> p_237409_0_) final boolean
expand
(LootContext p_expand_1_, Consumer<ILootGenerator> p_expand_2_) void
validate
(ValidationTracker p_225579_1_) 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
-
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_)
-