Class GuideNetwork

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

public final class GuideNetwork extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static @Nullable net.minecraft.resources.Identifier
    bookOf(net.minecraft.world.item.ItemStack stack)
    The book a stack opens: a guide book item's, or any stack's that names one.
    static void
    changed(net.minecraft.server.level.ServerPlayer player, net.minecraft.advancements.AdvancementHolder advancement, boolean done)
    Called by PlayerAdvancementsMixin when an advancement of a player's becomes done or no longer done.
    static void
     
    static boolean
    isRead(net.minecraft.world.entity.Entity holder, net.minecraft.world.item.ItemStack stack)
    Whether a stack is the one its holder is reading now; a mark on any other stack is left over and goes.
    static void
    open(net.minecraft.server.level.ServerPlayer player, net.minecraft.resources.Identifier book, @Nullable String entry)
     

    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 void open(net.minecraft.server.level.ServerPlayer player, net.minecraft.resources.Identifier book, @Nullable String entry)
    • bookOf

      public static @Nullable net.minecraft.resources.Identifier bookOf(net.minecraft.world.item.ItemStack stack)
      The book a stack opens: a guide book item's, or any stack's that names one.
    • isRead

      public static boolean isRead(net.minecraft.world.entity.Entity holder, net.minecraft.world.item.ItemStack stack)
      Whether a stack is the one its holder is reading now; a mark on any other stack is left over and goes.
    • changed

      public static void changed(net.minecraft.server.level.ServerPlayer player, net.minecraft.advancements.AdvancementHolder advancement, boolean done)
      Called by PlayerAdvancementsMixin when an advancement of a player's becomes done or no longer done.