Package guideme

Class GuidesCommon

java.lang.Object
guideme.GuidesCommon

public final class GuidesCommon extends Object
Functionality for guides that can be used on both the server and client.
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    openGuide(net.minecraft.world.entity.player.Player player, net.minecraft.resources.ResourceLocation guideId)
    Opens the last opened page (or start page) of the guide for the player.
    static void
    openGuide(net.minecraft.world.entity.player.Player player, net.minecraft.resources.ResourceLocation guideId, PageAnchor anchor)
    Opens the given guide for the player and navigates to the given page position.

    Methods inherited from class java.lang.Object

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

    • openGuide

      public static void openGuide(net.minecraft.world.entity.player.Player player, net.minecraft.resources.ResourceLocation guideId)
      Opens the last opened page (or start page) of the guide for the player.
    • openGuide

      public static void openGuide(net.minecraft.world.entity.player.Player player, net.minecraft.resources.ResourceLocation guideId, PageAnchor anchor)
      Opens the given guide for the player and navigates to the given page position.