Class GuideHooks

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

public final class GuideHooks extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static Function<net.minecraft.resources.Identifier, net.minecraft.network.chat.Component>
     
    static BiConsumer<net.minecraft.resources.Identifier, net.minecraft.world.InteractionHand>
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.network.chat.Component
    bookName(net.minecraft.resources.Identifier book)
     
    static net.minecraft.network.chat.Component
    defaultName(net.minecraft.resources.Identifier book)
    guide.<namespace>.<path>.name, with the path in title case as the fallback.
    static void
    openFromItem(net.minecraft.resources.Identifier book, net.minecraft.world.InteractionHand hand)
     

    Methods inherited from class Object

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

    • opener

      public static BiConsumer<net.minecraft.resources.Identifier, net.minecraft.world.InteractionHand> opener
    • names

      public static Function<net.minecraft.resources.Identifier, net.minecraft.network.chat.Component> names
  • Method Details

    • openFromItem

      public static void openFromItem(net.minecraft.resources.Identifier book, net.minecraft.world.InteractionHand hand)
    • bookName

      public static net.minecraft.network.chat.Component bookName(net.minecraft.resources.Identifier book)
    • defaultName

      public static net.minecraft.network.chat.Component defaultName(net.minecraft.resources.Identifier book)
      guide.<namespace>.<path>.name, with the path in title case as the fallback.