Class FoliosBuiltinSources
java.lang.Object
net.ixdarklord.folios.internal.client.FoliosBuiltinSources
The sources Folios gives itself, worked out from the game as a page observing one is laid out, so a data pack can
list live game content with no code.
"of" on the page's observe narrows each:
folios:items,folios:blocks,folios:entities: a registry's entries, of a tag ("of": "#minecraft:logs") or a mod ("of": "create"); fieldsname(a translation key),mod, and for itemsdurabilityandstack, for entitiescategory;folios:advancements: the advancements the player has been shown, of a mod or under an id ("of": "minecraft:story"); fieldsname,description, anddone(trueorfalse, the reader's own). Hidden ones are left out until done.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.resources.Identifierstatic final net.minecraft.resources.Identifierstatic final net.minecraft.resources.Identifierstatic final net.minecraft.resources.Identifier -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanhas(net.minecraft.resources.Identifier source) static @Nullable List<FoliosSources.Row> The source's rows now, narrowed byof(null for all); null for a source that isn't one of these.
-
Field Details
-
ITEMS
public static final net.minecraft.resources.Identifier ITEMS -
BLOCKS
public static final net.minecraft.resources.Identifier BLOCKS -
ENTITIES
public static final net.minecraft.resources.Identifier ENTITIES -
ADVANCEMENTS
public static final net.minecraft.resources.Identifier ADVANCEMENTS
-
-
Method Details
-
has
public static boolean has(net.minecraft.resources.Identifier source) -
rows
public static @Nullable List<FoliosSources.Row> rows(net.minecraft.resources.Identifier source, @Nullable String of) The source's rows now, narrowed byof(null for all); null for a source that isn't one of these.
-