Package net.minecraft.loot.entry
Class CombinedEntry
java.lang.Object
net.minecraft.loot.entry.LootPoolEntry
net.minecraft.loot.entry.CombinedEntry
- All Implemented Interfaces:
EntryCombiner
- Direct Known Subclasses:
AlternativeEntry,GroupEntry,SequenceEntry
- Mappings:
Namespace Name official drrintermediary net/minecraft/class_69named net/minecraft/loot/entry/CombinedEntry
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.loot.entry.LootPoolEntry
LootPoolEntry.Builder<T extends LootPoolEntry.Builder<T>>, LootPoolEntry.Serializer<T extends LootPoolEntry> -
Field Summary
FieldsFields inherited from class net.minecraft.loot.entry.LootPoolEntry
conditionsFields inherited from interface net.minecraft.loot.entry.EntryCombiner
ALWAYS_FALSE, ALWAYS_TRUE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCombinedEntry(LootPoolEntry[] children, LootCondition[] conditions) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract EntryCombinercombine(EntryCombiner[] children) static <T extends CombinedEntry>
LootPoolEntry.Serializer<T>createSerializer(CombinedEntry.Factory<T> factory) final booleanexpand(LootContext context, Consumer<LootChoice> choiceConsumer) voidvalidate(LootTableReporter reporter) Methods inherited from class net.minecraft.loot.entry.LootPoolEntry
getType, testMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.loot.entry.EntryCombiner
and, or
-
Field Details
-
children
- Mappings:
Namespace Name Mixin selector official cLdrr;c:[Ldry;intermediary field_982Lnet/minecraft/class_69;field_982:[Lnet/minecraft/class_79;named childrenLnet/minecraft/loot/entry/CombinedEntry;children:[Lnet/minecraft/loot/entry/LootPoolEntry;
-
predicate
- Mappings:
Namespace Name Mixin selector official eLdrr;e:Ldrq;intermediary field_983Lnet/minecraft/class_69;field_983:Lnet/minecraft/class_64;named predicateLnet/minecraft/loot/entry/CombinedEntry;predicate:Lnet/minecraft/loot/entry/EntryCombiner;
-
-
Constructor Details
-
CombinedEntry
- Mappings:
Namespace Name Mixin selector official <init>Ldrr;<init>([Ldry;[Ldua;)Vintermediary <init>Lnet/minecraft/class_69;<init>([Lnet/minecraft/class_79;[Lnet/minecraft/class_5341;)Vnamed <init>Lnet/minecraft/loot/entry/CombinedEntry;<init>([Lnet/minecraft/loot/entry/LootPoolEntry;[Lnet/minecraft/loot/condition/LootCondition;)V
-
-
Method Details
-
validate
- Overrides:
validatein classLootPoolEntry- Mappings:
Namespace Name Mixin selector official aLdry;a(Ldro;)Vintermediary method_415Lnet/minecraft/class_79;method_415(Lnet/minecraft/class_58;)Vnamed validateLnet/minecraft/loot/entry/LootPoolEntry;validate(Lnet/minecraft/loot/LootTableReporter;)V
-
combine
- Mappings:
Namespace Name Mixin selector official aLdrr;a([Ldrq;)Ldrq;intermediary method_394Lnet/minecraft/class_69;method_394([Lnet/minecraft/class_64;)Lnet/minecraft/class_64;named combineLnet/minecraft/loot/entry/CombinedEntry;combine([Lnet/minecraft/loot/entry/EntryCombiner;)Lnet/minecraft/loot/entry/EntryCombiner;
-
expand
- Mappings:
Namespace Name Mixin selector official expandLdrq;expand(Ldrg;Ljava/util/function/Consumer;)Zintermediary expandLnet/minecraft/class_64;expand(Lnet/minecraft/class_47;Ljava/util/function/Consumer;)Znamed expandLnet/minecraft/loot/entry/EntryCombiner;expand(Lnet/minecraft/loot/context/LootContext;Ljava/util/function/Consumer;)Z
-
createSerializer
public static <T extends CombinedEntry> LootPoolEntry.Serializer<T> createSerializer(CombinedEntry.Factory<T> factory) - Mappings:
Namespace Name Mixin selector official aLdrr;a(Ldrr$a;)Ldry$b;intermediary method_395Lnet/minecraft/class_69;method_395(Lnet/minecraft/class_69$class_70;)Lnet/minecraft/class_79$class_5337;named createSerializerLnet/minecraft/loot/entry/CombinedEntry;createSerializer(Lnet/minecraft/loot/entry/CombinedEntry$Factory;)Lnet/minecraft/loot/entry/LootPoolEntry$Serializer;
-