public static class AdvancementRewards.Builder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
experience |
private ResourceLocation |
function |
private java.util.List<ResourceLocation> |
loot |
private java.util.List<ResourceLocation> |
recipes |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AdvancementRewards.Builder |
addExperience(int experienceIn) |
AdvancementRewards.Builder |
addRecipe(ResourceLocation recipeIn) |
AdvancementRewards |
build() |
static AdvancementRewards.Builder |
experience(int experienceIn) |
static AdvancementRewards.Builder |
recipe(ResourceLocation recipeIn) |
private int experience
private final java.util.List<ResourceLocation> loot
private final java.util.List<ResourceLocation> recipes
@Nullable private ResourceLocation function
public static AdvancementRewards.Builder experience(int experienceIn)
public AdvancementRewards.Builder addExperience(int experienceIn)
public static AdvancementRewards.Builder recipe(ResourceLocation recipeIn)
public AdvancementRewards.Builder addRecipe(ResourceLocation recipeIn)
public AdvancementRewards build()