Class AlternativeEntry.Builder

All Implemented Interfaces:
LootConditionConsumingBuilder<AlternativeEntry.Builder>
Enclosing class:
AlternativeEntry

public static class AlternativeEntry.Builder extends LootPoolEntry.Builder<AlternativeEntry.Builder>
Mappings:
Namespace Name
official drp$a
intermediary net/minecraft/class_65$class_66
named net/minecraft/loot/entry/AlternativeEntry$Builder
  • Field Details

    • children

      private final List<LootPoolEntry> children
      Mappings:
      Namespace Name Mixin selector
      official a Ldrp$a;a:Ljava/util/List;
      intermediary field_979 Lnet/minecraft/class_65$class_66;field_979:Ljava/util/List;
      named children Lnet/minecraft/loot/entry/AlternativeEntry$Builder;children:Ljava/util/List;
  • Constructor Details

    • Builder

      public Builder(LootPoolEntry.Builder<?>[] children)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldrp$a;<init>([Ldry$a;)V
      intermediary <init> Lnet/minecraft/class_65$class_66;<init>([Lnet/minecraft/class_79$class_80;)V
      named <init> Lnet/minecraft/loot/entry/AlternativeEntry$Builder;<init>([Lnet/minecraft/loot/entry/LootPoolEntry$Builder;)V
  • Method Details

    • getThisBuilder

      protected AlternativeEntry.Builder getThisBuilder()
      Specified by:
      getThisBuilder in class LootPoolEntry.Builder<AlternativeEntry.Builder>
      Mappings:
      Namespace Name Mixin selector
      official a Ldrp$a;a()Ldrp$a;
      intermediary method_388 Lnet/minecraft/class_65$class_66;method_388()Lnet/minecraft/class_65$class_66;
      named getThisBuilder Lnet/minecraft/loot/entry/AlternativeEntry$Builder;getThisBuilder()Lnet/minecraft/loot/entry/AlternativeEntry$Builder;
    • alternatively

      public AlternativeEntry.Builder alternatively(LootPoolEntry.Builder<?> builder)
      Overrides:
      alternatively in class LootPoolEntry.Builder<AlternativeEntry.Builder>
      Mappings:
      Namespace Name Mixin selector
      official a Ldry$a;a(Ldry$a;)Ldrp$a;
      intermediary method_417 Lnet/minecraft/class_79$class_80;method_417(Lnet/minecraft/class_79$class_80;)Lnet/minecraft/class_65$class_66;
      named alternatively Lnet/minecraft/loot/entry/LootPoolEntry$Builder;alternatively(Lnet/minecraft/loot/entry/LootPoolEntry$Builder;)Lnet/minecraft/loot/entry/AlternativeEntry$Builder;
    • build

      public LootPoolEntry build()
      Specified by:
      build in class LootPoolEntry.Builder<AlternativeEntry.Builder>
      Mappings:
      Namespace Name Mixin selector
      official b Ldry$a;b()Ldry;
      intermediary method_419 Lnet/minecraft/class_79$class_80;method_419()Lnet/minecraft/class_79;
      named build Lnet/minecraft/loot/entry/LootPoolEntry$Builder;build()Lnet/minecraft/loot/entry/LootPoolEntry;