Class FoliosBuiltinSources

java.lang.Object
net.ixdarklord.folios.internal.client.FoliosBuiltinSources

public final class FoliosBuiltinSources extends Object
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"); fields name (a translation key), mod, and for items durability and stack, for entities category;
  • folios:advancements: the advancements the player has been shown, of a mod or under an id ("of": "minecraft:story"); fields name, description, and done (true or false, the reader's own). Hidden ones are left out until done.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.resources.Identifier
     
    static final net.minecraft.resources.Identifier
     
    static final net.minecraft.resources.Identifier
     
    static final net.minecraft.resources.Identifier
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    has(net.minecraft.resources.Identifier source)
     
    static @Nullable List<FoliosSources.Row>
    rows(net.minecraft.resources.Identifier source, @Nullable String of)
    The source's rows now, narrowed by of (null for all); null for a source that isn't one of these.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 by of (null for all); null for a source that isn't one of these.