Class FoliosPayloads

java.lang.Object
net.ixdarklord.folios.internal.FoliosPayloads

public final class FoliosPayloads extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final record 
    The advancements a player has completed: all of them (reset), or ones newly completed or revoked.
    static final record 
    A client claiming the reward of a server quest its player has done.
    static final record 
    The server opening a book, at an entry or its start.
    static final record 
    A client sending what its player has done with a book, to be kept: with the player (hand -1), or on the book in that hand, for a book that keeps its own.
    static final record 
    The server's quests (data packs' folios/quests), each as its file is written, sent to a player.
    static final record 
    A client saying its player started or stopped reading the handheld book in a hand (-1 for no hand).
    static final record 
    A client saying which spread of the handheld book its player has open, or that none is (open false); shut while it is held up shut, about to be opened.
    static final record 
    How one recipe looks, as the recipe book shows it; empty for a recipe the server doesn't have.
    static final record 
    A client asking how recipes look.
    static final record 
    The server telling a player which spread someone near them has open in their hands, to read along.
    static final record 
    A source's rows (FoliosSources), from the server, for the pages observing it, and the ids data packs took out.
    static final record 
    A structure's blocks: its palette of states, and each block as four numbers in blocks, its x, y and z and its state's place in the palette.
    static final record 
    A client asking for structures' blocks.
    static final record 
    A client saying which entry of a book is on its player's screen, as that changes; NO_BOOK once none is.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    No more blocks than this of a structure are sent; a larger one is said to be too large.
    static final net.minecraft.resources.Identifier
    The book named in a FoliosPayloads.ReadingAt saying none is open.
  • Method Summary

    Methods inherited from class Object

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

    • NO_BOOK

      public static final net.minecraft.resources.Identifier NO_BOOK
      The book named in a FoliosPayloads.ReadingAt saying none is open.
    • MOST_STRUCTURE_BLOCKS

      public static final int MOST_STRUCTURE_BLOCKS
      No more blocks than this of a structure are sent; a larger one is said to be too large.
      See Also: