Package net.minecraft.advancement
Class AdvancementRewards.Builder
java.lang.Object
net.minecraft.advancement.AdvancementRewards.Builder
- Enclosing class:
AdvancementRewards
- Mappings:
Namespace Name named net/minecraft/advancement/AdvancementRewards$Builder
intermediary net/minecraft/class_170$class_171
official al$a
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private Optional
<Identifier> private final ImmutableList.Builder
<RegistryKey<LootTable>> private final ImmutableList.Builder
<RegistryKey<Recipe<?>>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddLoot
(RegistryKey<LootTable> loot) addRecipe
(RegistryKey<Recipe<?>> recipeKey) build()
static AdvancementRewards.Builder
experience
(int experience) static AdvancementRewards.Builder
function
(Identifier function) static AdvancementRewards.Builder
loot
(RegistryKey<LootTable> loot) static AdvancementRewards.Builder
recipe
(RegistryKey<Recipe<?>> recipeKey) setExperience
(int experience) setFunction
(Identifier function)
-
Field Details
-
experience
private int experience- Mappings:
Namespace Name Mixin selector named experience
Lnet/minecraft/advancement/AdvancementRewards$Builder;experience:I
intermediary field_1169
Lnet/minecraft/class_170$class_171;field_1169:I
official a
Lal$a;a:I
-
loot
- Mappings:
Namespace Name Mixin selector named loot
Lnet/minecraft/advancement/AdvancementRewards$Builder;loot:Lcom/google/common/collect/ImmutableList$Builder;
intermediary field_1171
Lnet/minecraft/class_170$class_171;field_1171:Lcom/google/common/collect/ImmutableList$Builder;
official b
Lal$a;b:Lcom/google/common/collect/ImmutableList$Builder;
-
recipes
- Mappings:
Namespace Name Mixin selector named recipes
Lnet/minecraft/advancement/AdvancementRewards$Builder;recipes:Lcom/google/common/collect/ImmutableList$Builder;
intermediary field_1168
Lnet/minecraft/class_170$class_171;field_1168:Lcom/google/common/collect/ImmutableList$Builder;
official c
Lal$a;c:Lcom/google/common/collect/ImmutableList$Builder;
-
function
- Mappings:
Namespace Name Mixin selector named function
Lnet/minecraft/advancement/AdvancementRewards$Builder;function:Ljava/util/Optional;
intermediary field_1170
Lnet/minecraft/class_170$class_171;field_1170:Ljava/util/Optional;
official d
Lal$a;d:Ljava/util/Optional;
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
experience
- Mappings:
Namespace Name Mixin selector named experience
Lnet/minecraft/advancement/AdvancementRewards$Builder;experience(I)Lnet/minecraft/advancement/AdvancementRewards$Builder;
intermediary method_750
Lnet/minecraft/class_170$class_171;method_750(I)Lnet/minecraft/class_170$class_171;
official a
Lal$a;a(I)Lal$a;
-
setExperience
- Mappings:
Namespace Name Mixin selector named setExperience
Lnet/minecraft/advancement/AdvancementRewards$Builder;setExperience(I)Lnet/minecraft/advancement/AdvancementRewards$Builder;
intermediary method_749
Lnet/minecraft/class_170$class_171;method_749(I)Lnet/minecraft/class_170$class_171;
official b
Lal$a;b(I)Lal$a;
-
loot
- Mappings:
Namespace Name Mixin selector named loot
Lnet/minecraft/advancement/AdvancementRewards$Builder;loot(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/advancement/AdvancementRewards$Builder;
intermediary method_34899
Lnet/minecraft/class_170$class_171;method_34899(Lnet/minecraft/class_5321;)Lnet/minecraft/class_170$class_171;
official a
Lal$a;a(Laly;)Lal$a;
-
addLoot
- Mappings:
Namespace Name Mixin selector named addLoot
Lnet/minecraft/advancement/AdvancementRewards$Builder;addLoot(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/advancement/AdvancementRewards$Builder;
intermediary method_34900
Lnet/minecraft/class_170$class_171;method_34900(Lnet/minecraft/class_5321;)Lnet/minecraft/class_170$class_171;
official b
Lal$a;b(Laly;)Lal$a;
-
recipe
- Mappings:
Namespace Name Mixin selector named recipe
Lnet/minecraft/advancement/AdvancementRewards$Builder;recipe(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/advancement/AdvancementRewards$Builder;
intermediary method_753
Lnet/minecraft/class_170$class_171;method_753(Lnet/minecraft/class_5321;)Lnet/minecraft/class_170$class_171;
official c
Lal$a;c(Laly;)Lal$a;
-
addRecipe
- Mappings:
Namespace Name Mixin selector named addRecipe
Lnet/minecraft/advancement/AdvancementRewards$Builder;addRecipe(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/advancement/AdvancementRewards$Builder;
intermediary method_752
Lnet/minecraft/class_170$class_171;method_752(Lnet/minecraft/class_5321;)Lnet/minecraft/class_170$class_171;
official d
Lal$a;d(Laly;)Lal$a;
-
function
- Mappings:
Namespace Name Mixin selector named function
Lnet/minecraft/advancement/AdvancementRewards$Builder;function(Lnet/minecraft/util/Identifier;)Lnet/minecraft/advancement/AdvancementRewards$Builder;
intermediary method_34901
Lnet/minecraft/class_170$class_171;method_34901(Lnet/minecraft/class_2960;)Lnet/minecraft/class_170$class_171;
official a
Lal$a;a(Lalz;)Lal$a;
-
setFunction
- Mappings:
Namespace Name Mixin selector named setFunction
Lnet/minecraft/advancement/AdvancementRewards$Builder;setFunction(Lnet/minecraft/util/Identifier;)Lnet/minecraft/advancement/AdvancementRewards$Builder;
intermediary method_34902
Lnet/minecraft/class_170$class_171;method_34902(Lnet/minecraft/class_2960;)Lnet/minecraft/class_170$class_171;
official b
Lal$a;b(Lalz;)Lal$a;
-
build
- Mappings:
Namespace Name Mixin selector named build
Lnet/minecraft/advancement/AdvancementRewards$Builder;build()Lnet/minecraft/advancement/AdvancementRewards;
intermediary method_751
Lnet/minecraft/class_170$class_171;method_751()Lnet/minecraft/class_170;
official a
Lal$a;a()Lal;
-