Package net.minecraft.advancement
Class AdvancementRewards.Builder
java.lang.Object
net.minecraft.advancement.AdvancementRewards.Builder
- Enclosing class:
AdvancementRewards
- Mappings:
Namespace Name official aj$a
intermediary net/minecraft/class_170$class_171
named net/minecraft/advancement/AdvancementRewards$Builder
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private Optional<Identifier>
private final ImmutableList.Builder<Identifier>
private final ImmutableList.Builder<Identifier>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddLoot
(Identifier loot) addRecipe
(Identifier recipe) build()
static AdvancementRewards.Builder
experience
(int experience) static AdvancementRewards.Builder
function
(Identifier function) static AdvancementRewards.Builder
loot
(Identifier loot) static AdvancementRewards.Builder
recipe
(Identifier recipe) setExperience
(int experience) setFunction
(Identifier function)
-
Field Details
-
experience
private int experience- Mappings:
Namespace Name Mixin selector official a
Laj$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
- Mappings:
Namespace Name Mixin selector official b
Laj$a;b:Lcom/google/common/collect/ImmutableList$Builder;
intermediary field_1171
Lnet/minecraft/class_170$class_171;field_1171:Lcom/google/common/collect/ImmutableList$Builder;
named loot
Lnet/minecraft/advancement/AdvancementRewards$Builder;loot:Lcom/google/common/collect/ImmutableList$Builder;
-
recipes
- Mappings:
Namespace Name Mixin selector official c
Laj$a;c:Lcom/google/common/collect/ImmutableList$Builder;
intermediary field_1168
Lnet/minecraft/class_170$class_171;field_1168:Lcom/google/common/collect/ImmutableList$Builder;
named recipes
Lnet/minecraft/advancement/AdvancementRewards$Builder;recipes:Lcom/google/common/collect/ImmutableList$Builder;
-
function
- Mappings:
Namespace Name Mixin selector official d
Laj$a;d:Ljava/util/Optional;
intermediary field_1170
Lnet/minecraft/class_170$class_171;field_1170:Ljava/util/Optional;
named function
Lnet/minecraft/advancement/AdvancementRewards$Builder;function:Ljava/util/Optional;
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
experience
- Mappings:
Namespace Name Mixin selector official a
Laj$a;a(I)Laj$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
- Mappings:
Namespace Name Mixin selector official b
Laj$a;b(I)Laj$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
- Mappings:
Namespace Name Mixin selector official a
Laj$a;a(Lahg;)Laj$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
- Mappings:
Namespace Name Mixin selector official b
Laj$a;b(Lahg;)Laj$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
- Mappings:
Namespace Name Mixin selector official c
Laj$a;c(Lahg;)Laj$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
- Mappings:
Namespace Name Mixin selector official d
Laj$a;d(Lahg;)Laj$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
- Mappings:
Namespace Name Mixin selector official e
Laj$a;e(Lahg;)Laj$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
- Mappings:
Namespace Name Mixin selector official f
Laj$a;f(Lahg;)Laj$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
- Mappings:
Namespace Name Mixin selector official a
Laj$a;a()Laj;
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;
-