Package guideme
Class GuidesCommon
java.lang.Object
guideme.GuidesCommon
Functionality for guides that can be used on both the server and client.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidopenGuide(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 voidopenGuide(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.
-
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.
-