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 named net/minecraft/loot/entry/CombinedEntryintermediary net/minecraft/class_69official esa
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.loot.entry.LootPoolEntry
LootPoolEntry.Builder<T extends LootPoolEntry.Builder<T>> -
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(List<LootPoolEntry> terms, List<LootCondition> conditions) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract EntryCombinercombine(List<? extends EntryCombiner> terms) static <T extends CombinedEntry>
com.mojang.serialization.MapCodec<T> createCodec(CombinedEntry.Factory<T> factory) final booleanexpand(LootContext context, Consumer<LootChoice> choiceConsumer) voidvalidate(LootTableReporter reporter) Methods inherited from class net.minecraft.loot.entry.LootPoolEntry
addConditionsField, 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 named childrenLnet/minecraft/loot/entry/CombinedEntry;children:Ljava/util/List;intermediary field_982Lnet/minecraft/class_69;field_982:Ljava/util/List;official dLesa;d:Ljava/util/List;
-
predicate
- Mappings:
Namespace Name Mixin selector named predicateLnet/minecraft/loot/entry/CombinedEntry;predicate:Lnet/minecraft/loot/entry/EntryCombiner;intermediary field_983Lnet/minecraft/class_69;field_983:Lnet/minecraft/class_64;official aLesa;a:Lerz;
-
-
Constructor Details
-
CombinedEntry
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/loot/entry/CombinedEntry;<init>(Ljava/util/List;Ljava/util/List;)Vintermediary <init>Lnet/minecraft/class_69;<init>(Ljava/util/List;Ljava/util/List;)Vofficial <init>Lesa;<init>(Ljava/util/List;Ljava/util/List;)V
-
-
Method Details
-
validate
- Overrides:
validatein classLootPoolEntry- Mappings:
Namespace Name Mixin selector named validateLnet/minecraft/loot/entry/LootPoolEntry;validate(Lnet/minecraft/loot/LootTableReporter;)Vintermediary method_415Lnet/minecraft/class_79;method_415(Lnet/minecraft/class_58;)Vofficial aLesh;a(Lerx;)V
-
combine
- Mappings:
Namespace Name Mixin selector named combineLnet/minecraft/loot/entry/CombinedEntry;combine(Ljava/util/List;)Lnet/minecraft/loot/entry/EntryCombiner;intermediary method_394Lnet/minecraft/class_69;method_394(Ljava/util/List;)Lnet/minecraft/class_64;official aLesa;a(Ljava/util/List;)Lerz;
-
expand
- Mappings:
Namespace Name Mixin selector named expandLnet/minecraft/loot/entry/EntryCombiner;expand(Lnet/minecraft/loot/context/LootContext;Ljava/util/function/Consumer;)Zintermediary expandLnet/minecraft/class_64;expand(Lnet/minecraft/class_47;Ljava/util/function/Consumer;)Zofficial expandLerz;expand(Lerr;Ljava/util/function/Consumer;)Z
-
createCodec
public static <T extends CombinedEntry> com.mojang.serialization.MapCodec<T> createCodec(CombinedEntry.Factory<T> factory) - Mappings:
Namespace Name Mixin selector named createCodecLnet/minecraft/loot/entry/CombinedEntry;createCodec(Lnet/minecraft/loot/entry/CombinedEntry$Factory;)Lcom/mojang/serialization/MapCodec;intermediary method_53279Lnet/minecraft/class_69;method_53279(Lnet/minecraft/class_69$class_70;)Lcom/mojang/serialization/MapCodec;official aLesa;a(Lesa$a;)Lcom/mojang/serialization/MapCodec;
-