public static class ConditionalAdvancement.Builder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.List<Advancement.Builder> |
advancements |
private java.util.List<ICondition[]> |
conditions |
private java.util.List<ICondition> |
currentConditions |
private boolean |
locked |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ConditionalAdvancement.Builder |
addAdvancement(Advancement.Builder recipe) |
ConditionalAdvancement.Builder |
addAdvancement(java.util.function.Consumer<java.util.function.Consumer<Advancement.Builder>> callable) |
ConditionalAdvancement.Builder |
addCondition(ICondition condition) |
com.google.gson.JsonObject |
write() |
private java.util.List<ICondition[]> conditions
private java.util.List<Advancement.Builder> advancements
private java.util.List<ICondition> currentConditions
private boolean locked
public ConditionalAdvancement.Builder addCondition(ICondition condition)
public ConditionalAdvancement.Builder addAdvancement(java.util.function.Consumer<java.util.function.Consumer<Advancement.Builder>> callable)
public ConditionalAdvancement.Builder addAdvancement(Advancement.Builder recipe)
public com.google.gson.JsonObject write()