Class QuestReading

java.lang.Object
net.ixdarklord.folios.internal.quest.QuestReading

public final class QuestReading extends Object
What the server counts as reading, for quests' "read" objectives. Reading happens on the player's screen, so the server can't see it; it makes faking it cost what reading does. The client says which entry is open as that changes, and the server counts it read once it has been open a while (readSeconds), in a book the player has with them or one the server opened for them (needsBook), and no faster than readsPerMinute. What it turns down is logged, once a minute at most for each player.
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    opened(net.minecraft.server.level.ServerPlayer player, net.minecraft.resources.Identifier book)
    A book the server opened for a player, by the book item or FoliosBooks.open.

    Methods inherited from class Object

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

    • opened

      public static void opened(net.minecraft.server.level.ServerPlayer player, net.minecraft.resources.Identifier book)
      A book the server opened for a player, by the book item or FoliosBooks.open.