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 edc
intermediary net/minecraft/class_69
named net/minecraft/loot/entry/CombinedEntry
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.loot.entry.LootPoolEntry
LootPoolEntry.Builder<T extends LootPoolEntry.Builder<T>>
-
Field Summary
Fields inherited from class net.minecraft.loot.entry.LootPoolEntry
conditions
Fields inherited from interface net.minecraft.loot.entry.EntryCombiner
ALWAYS_FALSE, ALWAYS_TRUE
-
Constructor Summary
ModifierConstructorDescriptionprotected
CombinedEntry
(List<LootPoolEntry> terms, List<LootCondition> conditions) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract EntryCombiner
combine
(List<? extends EntryCombiner> list) static <T extends CombinedEntry>
com.mojang.serialization.Codec<T>createCodec
(CombinedEntry.Factory<T> factory) final boolean
expand
(LootContext context, Consumer<LootChoice> choiceConsumer) void
validate
(LootTableReporter reporter) Methods inherited from class net.minecraft.loot.entry.LootPoolEntry
getType, method_53287, test
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.entry.EntryCombiner
and, or
-
Field Details
-
children
- Mappings:
Namespace Name Mixin selector official d
Ledc;d:Ljava/util/List;
intermediary field_982
Lnet/minecraft/class_69;field_982:Ljava/util/List;
named children
Lnet/minecraft/loot/entry/CombinedEntry;children:Ljava/util/List;
-
predicate
- Mappings:
Namespace Name Mixin selector official a
Ledc;a:Ledb;
intermediary field_983
Lnet/minecraft/class_69;field_983:Lnet/minecraft/class_64;
named predicate
Lnet/minecraft/loot/entry/CombinedEntry;predicate:Lnet/minecraft/loot/entry/EntryCombiner;
-
-
Constructor Details
-
CombinedEntry
- Mappings:
Namespace Name Mixin selector official <init>
Ledc;<init>(Ljava/util/List;Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_69;<init>(Ljava/util/List;Ljava/util/List;)V
named <init>
Lnet/minecraft/loot/entry/CombinedEntry;<init>(Ljava/util/List;Ljava/util/List;)V
-
-
Method Details
-
validate
- Overrides:
validate
in classLootPoolEntry
- Mappings:
Namespace Name Mixin selector official a
Ledj;a(Lecz;)V
intermediary method_415
Lnet/minecraft/class_79;method_415(Lnet/minecraft/class_58;)V
named validate
Lnet/minecraft/loot/entry/LootPoolEntry;validate(Lnet/minecraft/loot/LootTableReporter;)V
-
combine
- Mappings:
Namespace Name Mixin selector official a
Ledc;a(Ljava/util/List;)Ledb;
intermediary method_394
Lnet/minecraft/class_69;method_394(Ljava/util/List;)Lnet/minecraft/class_64;
named combine
Lnet/minecraft/loot/entry/CombinedEntry;combine(Ljava/util/List;)Lnet/minecraft/loot/entry/EntryCombiner;
-
expand
- Mappings:
Namespace Name Mixin selector official expand
Ledb;expand(Lecq;Ljava/util/function/Consumer;)Z
intermediary expand
Lnet/minecraft/class_64;expand(Lnet/minecraft/class_47;Ljava/util/function/Consumer;)Z
named expand
Lnet/minecraft/loot/entry/EntryCombiner;expand(Lnet/minecraft/loot/context/LootContext;Ljava/util/function/Consumer;)Z
-
createCodec
public static <T extends CombinedEntry> com.mojang.serialization.Codec<T> createCodec(CombinedEntry.Factory<T> factory) - Mappings:
Namespace Name Mixin selector official a
Ledc;a(Ledc$a;)Lcom/mojang/serialization/Codec;
intermediary method_53279
Lnet/minecraft/class_69;method_53279(Lnet/minecraft/class_69$class_70;)Lcom/mojang/serialization/Codec;
named createCodec
Lnet/minecraft/loot/entry/CombinedEntry;createCodec(Lnet/minecraft/loot/entry/CombinedEntry$Factory;)Lcom/mojang/serialization/Codec;
-