Class FoliosObjectives

java.lang.Object
net.ixdarklord.folios.api.client.FoliosObjectives

public final class FoliosObjectives extends Object
Values a mod reports for books to follow: an objective {"source": "mymod:mana", "goal": 100} is as far along as the source's value is towards its goal. The value is asked whenever the objective is drawn or checked, so keep it cheap (read it from what the client already has).
FoliosObjectives.register(MyMod.id("mana"), player -> ManaClient.current());
FoliosObjectives.register(MyMod.id("spells_known"), player -> ClientSpells.known().size());