Class ServerObjective

java.lang.Object
net.ixdarklord.folios.internal.quest.ServerObjective

public final class ServerObjective extends Object
An objective of a server quest, read from the same JSON a book's quest takes and checked by the server alone. Those the server can't check (how much of a category or a book is read: it doesn't have the books) are refused as read.
  • Method Details

    • read

      public static ServerObjective read(com.google.gson.JsonObject json, @Nullable net.minecraft.resources.Identifier book)
      An objective as JSON writes it; book is the quest's, for its "read" objectives.