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
official dln
intermediary net/minecraft/class_69
named net/minecraft/loot/entry/CombinedEntry
  • Field Details

    • children

      protected final LootPoolEntry[] children
      Mappings:
      Namespace Name Mixin selector
      official c Ldln;c:[Ldlu;
      intermediary field_982 Lnet/minecraft/class_69;field_982:[Lnet/minecraft/class_79;
      named children Lnet/minecraft/loot/entry/CombinedEntry;children:[Lnet/minecraft/loot/entry/LootPoolEntry;
    • predicate

      private final EntryCombiner predicate
      Mappings:
      Namespace Name Mixin selector
      official e Ldln;e:Ldlm;
      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

      protected CombinedEntry(LootPoolEntry[] children, LootCondition[] conditions)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldln;<init>([Ldlu;[Ldnv;)V
      intermediary <init> Lnet/minecraft/class_69;<init>([Lnet/minecraft/class_79;[Lnet/minecraft/class_5341;)V
      named <init> Lnet/minecraft/loot/entry/CombinedEntry;<init>([Lnet/minecraft/loot/entry/LootPoolEntry;[Lnet/minecraft/loot/condition/LootCondition;)V
  • Method Details

    • validate

      public void validate(LootTableReporter reporter)
      Overrides:
      validate in class LootPoolEntry
      Mappings:
      Namespace Name Mixin selector
      official a Ldlu;a(Ldlk;)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

      protected abstract EntryCombiner combine(EntryCombiner[] children)
      Mappings:
      Namespace Name Mixin selector
      official a Ldln;a([Ldlm;)Ldlm;
      intermediary method_394 Lnet/minecraft/class_69;method_394([Lnet/minecraft/class_64;)Lnet/minecraft/class_64;
      named combine Lnet/minecraft/loot/entry/CombinedEntry;combine([Lnet/minecraft/loot/entry/EntryCombiner;)Lnet/minecraft/loot/entry/EntryCombiner;
    • expand

      public final boolean expand(LootContext context, Consumer<LootChoice> choiceConsumer)
      Mappings:
      Namespace Name Mixin selector
      official expand Ldlm;expand(Ldlc;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
    • createSerializer

      public static <T extends CombinedEntry> LootPoolEntry.Serializer<T> createSerializer(CombinedEntry.Factory<T> factory)
      Mappings:
      Namespace Name Mixin selector
      official a Ldln;a(Ldln$a;)Ldlu$b;
      intermediary method_395 Lnet/minecraft/class_69;method_395(Lnet/minecraft/class_69$class_70;)Lnet/minecraft/class_79$class_5337;
      named createSerializer Lnet/minecraft/loot/entry/CombinedEntry;createSerializer(Lnet/minecraft/loot/entry/CombinedEntry$Factory;)Lnet/minecraft/loot/entry/LootPoolEntry$Serializer;