Class AdvancementRewards.Builder

java.lang.Object
net.minecraft.advancement.AdvancementRewards.Builder
Enclosing class:
AdvancementRewards

public static class AdvancementRewards.Builder extends Object
Mappings:
Namespace Name
official ai$a
intermediary net/minecraft/class_170$class_171
named net/minecraft/advancement/AdvancementRewards$Builder
  • Field Details

    • experience

      private int experience
      Mappings:
      Namespace Name Mixin selector
      official a Lai$a;a:I
      intermediary field_1169 Lnet/minecraft/class_170$class_171;field_1169:I
      named experience Lnet/minecraft/advancement/AdvancementRewards$Builder;experience:I
    • loot

      private final List<Identifier> loot
      Mappings:
      Namespace Name Mixin selector
      official b Lai$a;b:Ljava/util/List;
      intermediary field_1171 Lnet/minecraft/class_170$class_171;field_1171:Ljava/util/List;
      named loot Lnet/minecraft/advancement/AdvancementRewards$Builder;loot:Ljava/util/List;
    • recipes

      private final List<Identifier> recipes
      Mappings:
      Namespace Name Mixin selector
      official c Lai$a;c:Ljava/util/List;
      intermediary field_1168 Lnet/minecraft/class_170$class_171;field_1168:Ljava/util/List;
      named recipes Lnet/minecraft/advancement/AdvancementRewards$Builder;recipes:Ljava/util/List;
    • function

      @Nullable private @Nullable Identifier function
      Mappings:
      Namespace Name Mixin selector
      official d Lai$a;d:Lyb;
      intermediary field_1170 Lnet/minecraft/class_170$class_171;field_1170:Lnet/minecraft/class_2960;
      named function Lnet/minecraft/advancement/AdvancementRewards$Builder;function:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • experience

      public static AdvancementRewards.Builder experience(int experience)
      Mappings:
      Namespace Name Mixin selector
      official a Lai$a;a(I)Lai$a;
      intermediary method_750 Lnet/minecraft/class_170$class_171;method_750(I)Lnet/minecraft/class_170$class_171;
      named experience Lnet/minecraft/advancement/AdvancementRewards$Builder;experience(I)Lnet/minecraft/advancement/AdvancementRewards$Builder;
    • setExperience

      public AdvancementRewards.Builder setExperience(int experience)
      Mappings:
      Namespace Name Mixin selector
      official b Lai$a;b(I)Lai$a;
      intermediary method_749 Lnet/minecraft/class_170$class_171;method_749(I)Lnet/minecraft/class_170$class_171;
      named setExperience Lnet/minecraft/advancement/AdvancementRewards$Builder;setExperience(I)Lnet/minecraft/advancement/AdvancementRewards$Builder;
    • loot

      public static AdvancementRewards.Builder loot(Identifier loot)
      Mappings:
      Namespace Name Mixin selector
      official a Lai$a;a(Lyb;)Lai$a;
      intermediary method_34899 Lnet/minecraft/class_170$class_171;method_34899(Lnet/minecraft/class_2960;)Lnet/minecraft/class_170$class_171;
      named loot Lnet/minecraft/advancement/AdvancementRewards$Builder;loot(Lnet/minecraft/util/Identifier;)Lnet/minecraft/advancement/AdvancementRewards$Builder;
    • addLoot

      public AdvancementRewards.Builder addLoot(Identifier loot)
      Mappings:
      Namespace Name Mixin selector
      official b Lai$a;b(Lyb;)Lai$a;
      intermediary method_34900 Lnet/minecraft/class_170$class_171;method_34900(Lnet/minecraft/class_2960;)Lnet/minecraft/class_170$class_171;
      named addLoot Lnet/minecraft/advancement/AdvancementRewards$Builder;addLoot(Lnet/minecraft/util/Identifier;)Lnet/minecraft/advancement/AdvancementRewards$Builder;
    • recipe

      public static AdvancementRewards.Builder recipe(Identifier recipe)
      Mappings:
      Namespace Name Mixin selector
      official c Lai$a;c(Lyb;)Lai$a;
      intermediary method_753 Lnet/minecraft/class_170$class_171;method_753(Lnet/minecraft/class_2960;)Lnet/minecraft/class_170$class_171;
      named recipe Lnet/minecraft/advancement/AdvancementRewards$Builder;recipe(Lnet/minecraft/util/Identifier;)Lnet/minecraft/advancement/AdvancementRewards$Builder;
    • addRecipe

      public AdvancementRewards.Builder addRecipe(Identifier recipe)
      Mappings:
      Namespace Name Mixin selector
      official d Lai$a;d(Lyb;)Lai$a;
      intermediary method_752 Lnet/minecraft/class_170$class_171;method_752(Lnet/minecraft/class_2960;)Lnet/minecraft/class_170$class_171;
      named addRecipe Lnet/minecraft/advancement/AdvancementRewards$Builder;addRecipe(Lnet/minecraft/util/Identifier;)Lnet/minecraft/advancement/AdvancementRewards$Builder;
    • function

      public static AdvancementRewards.Builder function(Identifier function)
      Mappings:
      Namespace Name Mixin selector
      official e Lai$a;e(Lyb;)Lai$a;
      intermediary method_34901 Lnet/minecraft/class_170$class_171;method_34901(Lnet/minecraft/class_2960;)Lnet/minecraft/class_170$class_171;
      named function Lnet/minecraft/advancement/AdvancementRewards$Builder;function(Lnet/minecraft/util/Identifier;)Lnet/minecraft/advancement/AdvancementRewards$Builder;
    • setFunction

      public AdvancementRewards.Builder setFunction(Identifier function)
      Mappings:
      Namespace Name Mixin selector
      official f Lai$a;f(Lyb;)Lai$a;
      intermediary method_34902 Lnet/minecraft/class_170$class_171;method_34902(Lnet/minecraft/class_2960;)Lnet/minecraft/class_170$class_171;
      named setFunction Lnet/minecraft/advancement/AdvancementRewards$Builder;setFunction(Lnet/minecraft/util/Identifier;)Lnet/minecraft/advancement/AdvancementRewards$Builder;
    • build

      public AdvancementRewards build()
      Mappings:
      Namespace Name Mixin selector
      official a Lai$a;a()Lai;
      intermediary method_751 Lnet/minecraft/class_170$class_171;method_751()Lnet/minecraft/class_170;
      named build Lnet/minecraft/advancement/AdvancementRewards$Builder;build()Lnet/minecraft/advancement/AdvancementRewards;