Class ConditionalAdvancement
- java.lang.Object
-
- net.minecraftforge.common.crafting.ConditionalAdvancement
-
public class ConditionalAdvancement extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConditionalAdvancement.Builder
-
Constructor Summary
Constructors Constructor Description ConditionalAdvancement()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ConditionalAdvancement.Builder
builder()
static com.google.gson.JsonObject
processConditional(com.google.gson.JsonObject json)
Processes the conditional advancement during loading.static boolean
processConditions(com.google.gson.JsonObject json)
Deprecated.
-
-
-
Method Detail
-
builder
public static ConditionalAdvancement.Builder builder()
-
processConditions
@Deprecated public static boolean processConditions(com.google.gson.JsonObject json)
Deprecated.
-
processConditional
@Nullable public static com.google.gson.JsonObject processConditional(com.google.gson.JsonObject json)
Processes the conditional advancement during loading.- Parameters:
json
- The incoming json from the advancement file.- Returns:
- The advancement that passed the conditions, or null if none did.
-
-