Class FoliosClient

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

public final class FoliosClient extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
     
    static boolean
    open(net.minecraft.resources.Identifier id, @Nullable String entry, @Nullable net.minecraft.world.InteractionHand hand)
    Opens a book in its style: at an entry (with an optional "#marker"), or where the player left off for null.
    static boolean
    open(net.minecraft.resources.Identifier id, @Nullable FoliosBook.Location at)
    Opens a book in its style at a page of an entry's JSON (null for where the player left off).

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • init

      public static void init()
    • open

      public static boolean open(net.minecraft.resources.Identifier id, @Nullable String entry, @Nullable net.minecraft.world.InteractionHand hand)
      Opens a book in its style: at an entry (with an optional "#marker"), or where the player left off for null.
    • open

      public static boolean open(net.minecraft.resources.Identifier id, @Nullable FoliosBook.Location at)
      Opens a book in its style at a page of an entry's JSON (null for where the player left off).