Class ConditionalAdvancement


  • public class ConditionalAdvancement
    extends java.lang.Object
    • Constructor Detail

      • ConditionalAdvancement

        public ConditionalAdvancement()
    • Method Detail

      • 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.