Class AlternativeEntry

All Implemented Interfaces:
EntryCombiner

public class AlternativeEntry extends CombinedEntry
Mappings:
Namespace Name
official djw
intermediary net/minecraft/class_65
named net/minecraft/loot/entry/AlternativeEntry
  • Constructor Details

    • AlternativeEntry

      AlternativeEntry(LootPoolEntry[] children, LootCondition[] conditions)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldjy;<init>([Ldkf;[Ldmg;)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

    • getType

      public LootPoolEntryType getType()
      Specified by:
      getType in class LootPoolEntry
      Mappings:
      Namespace Name Mixin selector
      official a Ldkf;a()Ldkg;
      intermediary method_29318 Lnet/minecraft/class_79;method_29318()Lnet/minecraft/class_5338;
      named getType Lnet/minecraft/loot/entry/LootPoolEntry;getType()Lnet/minecraft/loot/entry/LootPoolEntryType;
    • combine

      protected EntryCombiner combine(EntryCombiner[] children)
      Specified by:
      combine in class CombinedEntry
      Mappings:
      Namespace Name Mixin selector
      official a Ldjy;a([Ldjx;)Ldjx;
      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;
    • validate

      public void validate(LootTableReporter reporter)
      Overrides:
      validate in class CombinedEntry
      Mappings:
      Namespace Name Mixin selector
      official a Ldkf;a(Ldjv;)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
    • builder

      public static AlternativeEntry.Builder builder(LootPoolEntry.Builder<?>[] children)
      Mappings:
      Namespace Name Mixin selector
      official a Ldjw;a([Ldkf$a;)Ldjw$a;
      intermediary method_386 Lnet/minecraft/class_65;method_386([Lnet/minecraft/class_79$class_80;)Lnet/minecraft/class_65$class_66;
      named builder Lnet/minecraft/loot/entry/AlternativeEntry;builder([Lnet/minecraft/loot/entry/LootPoolEntry$Builder;)Lnet/minecraft/loot/entry/AlternativeEntry$Builder;