Class ConditionalAdvancement.Builder
java.lang.Object
net.minecraftforge.common.crafting.ConditionalAdvancement.Builder
- Enclosing class:
- ConditionalAdvancement
-
Field Summary
Modifier and TypeFieldDescriptionprivate List<ICondition[]>
private List<ICondition>
private boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAdvancement
(Consumer<Consumer<Advancement.Builder>> callable) private ConditionalAdvancement.Builder
addAdvancement
(Supplier<com.google.gson.JsonElement> jsonSupplier) addAdvancement
(Advancement.Builder advancement) addAdvancement
(FinishedRecipe fromRecipe) addCondition
(ICondition condition) com.google.gson.JsonObject
write()
-
Field Details
-
conditions
-
advancements
-
currentConditions
-
locked
private boolean locked
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
addCondition
-
addAdvancement
public ConditionalAdvancement.Builder addAdvancement(Consumer<Consumer<Advancement.Builder>> callable) -
addAdvancement
-
addAdvancement
-
addAdvancement
private ConditionalAdvancement.Builder addAdvancement(Supplier<com.google.gson.JsonElement> jsonSupplier) -
write
public com.google.gson.JsonObject write()
-