Class GuideLibrary
java.lang.Object
net.ixdarklord.folios.internal.client.GuideLibrary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable Stringauthor(net.minecraft.resources.ResourceLocation book) Who a book says it is from ("author"in book.json, raw); null when it doesn't say.static @Nullable GuideBookbook(net.minecraft.resources.ResourceLocation id) books()static @Nullable com.google.gson.JsonObjectbuild(net.minecraft.resources.ResourceLocation id) A build file as written, by its path under folios/ without ".json" (mymod:my_guide/builds/tower); null for none.static CelebrationSettingscelebrations(net.minecraft.resources.ResourceLocation book) How a book celebrates the player finishing part of it ("celebrations"in book.json); off unless it says.static voidreload(net.minecraft.server.packs.resources.ResourceManager manager) static @Nullable GuideSessionsession(net.minecraft.resources.ResourceLocation id) A book's laid-out pages, kept between openings; null when there is no such book.
-
Method Details
-
book
-
books
-
author
Who a book says it is from ("author"in book.json, raw); null when it doesn't say. -
celebrations
How a book celebrates the player finishing part of it ("celebrations"in book.json); off unless it says. -
build
@Nullable public static @Nullable com.google.gson.JsonObject build(net.minecraft.resources.ResourceLocation id) A build file as written, by its path under folios/ without ".json" (mymod:my_guide/builds/tower); null for none. -
session
A book's laid-out pages, kept between openings; null when there is no such book. -
reload
public static void reload(net.minecraft.server.packs.resources.ResourceManager manager)
-