Class ConditionalAdvancement

java.lang.Object
net.minecraftforge.common.crafting.ConditionalAdvancement

public class ConditionalAdvancement extends Object
  • Constructor Details

    • ConditionalAdvancement

      public ConditionalAdvancement()
  • Method Details

    • builder

      public static ConditionalAdvancement.Builder builder()
    • processConditional

      @Nullable public static @Nullable com.google.gson.JsonObject processConditional(com.google.gson.JsonObject json, ICondition.IContext context)
      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.