Package net.minecraft.advancements
Class AdvancementRewards.Builder
java.lang.Object
net.minecraft.advancements.AdvancementRewards.Builder
- Enclosing class:
- AdvancementRewards
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private ResourceLocation
private List<ResourceLocation>
private List<ResourceLocation>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddExperience(int p_10008_)
addLootTable(ResourceLocation p_144825_)
addRecipe(ResourceLocation p_10012_)
build()
static AdvancementRewards.Builder
experience(int p_10006_)
static AdvancementRewards.Builder
function(ResourceLocation p_144827_)
static AdvancementRewards.Builder
loot(ResourceLocation p_144823_)
static AdvancementRewards.Builder
recipe(ResourceLocation p_10010_)
runs(ResourceLocation p_144829_)
-
Field Details
-
experience
private int experience -
loot
-
recipes
-
function
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
experience
-
addExperience
-
loot
-
addLootTable
-
recipe
-
addRecipe
-
function
-
runs
-
build
-