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

public abstract class CombinedEntry extends LootPoolEntry
Mappings:
Namespace Name
named net/minecraft/loot/entry/CombinedEntry
intermediary net/minecraft/class_69
official eqs
  • Field Details

    • children

      protected final List<LootPoolEntry> children
      Mappings:
      Namespace Name Mixin selector
      named children Lnet/minecraft/loot/entry/CombinedEntry;children:Ljava/util/List;
      intermediary field_982 Lnet/minecraft/class_69;field_982:Ljava/util/List;
      official d Leqs;d:Ljava/util/List;
    • predicate

      private final EntryCombiner predicate
      Mappings:
      Namespace Name Mixin selector
      named predicate Lnet/minecraft/loot/entry/CombinedEntry;predicate:Lnet/minecraft/loot/entry/EntryCombiner;
      intermediary field_983 Lnet/minecraft/class_69;field_983:Lnet/minecraft/class_64;
      official a Leqs;a:Leqr;
  • Constructor Details

    • CombinedEntry

      protected CombinedEntry(List<LootPoolEntry> terms, List<LootCondition> conditions)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/loot/entry/CombinedEntry;<init>(Ljava/util/List;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_69;<init>(Ljava/util/List;Ljava/util/List;)V
      official <init> Leqs;<init>(Ljava/util/List;Ljava/util/List;)V
  • Method Details

    • validate

      public void validate(LootTableReporter reporter)
      Overrides:
      validate in class LootPoolEntry
      Mappings:
      Namespace Name Mixin selector
      named validate Lnet/minecraft/loot/entry/LootPoolEntry;validate(Lnet/minecraft/loot/LootTableReporter;)V
      intermediary method_415 Lnet/minecraft/class_79;method_415(Lnet/minecraft/class_58;)V
      official a Leqz;a(Leqp;)V
    • combine

      protected abstract EntryCombiner combine(List<? extends EntryCombiner> terms)
      Mappings:
      Namespace Name Mixin selector
      named combine Lnet/minecraft/loot/entry/CombinedEntry;combine(Ljava/util/List;)Lnet/minecraft/loot/entry/EntryCombiner;
      intermediary method_394 Lnet/minecraft/class_69;method_394(Ljava/util/List;)Lnet/minecraft/class_64;
      official a Leqs;a(Ljava/util/List;)Leqr;
    • expand

      public final boolean expand(LootContext context, Consumer<LootChoice> choiceConsumer)
      Mappings:
      Namespace Name Mixin selector
      named expand Lnet/minecraft/loot/entry/EntryCombiner;expand(Lnet/minecraft/loot/context/LootContext;Ljava/util/function/Consumer;)Z
      intermediary expand Lnet/minecraft/class_64;expand(Lnet/minecraft/class_47;Ljava/util/function/Consumer;)Z
      official expand Leqr;expand(Leqj;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 createCodec Lnet/minecraft/loot/entry/CombinedEntry;createCodec(Lnet/minecraft/loot/entry/CombinedEntry$Factory;)Lcom/mojang/serialization/MapCodec;
      intermediary method_53279 Lnet/minecraft/class_69;method_53279(Lnet/minecraft/class_69$class_70;)Lcom/mojang/serialization/MapCodec;
      official a Leqs;a(Leqs$a;)Lcom/mojang/serialization/MapCodec;