use of net.minecraft.client.gui.GuiScreenBook in project BetterStorage by copygirl.
the class ItemPresentBook method showBookScreen.
@SideOnly(Side.CLIENT)
public static void showBookScreen(EntityPlayer player, NBTTagList pages) {
ItemStack stack = new ItemStack(Items.written_book);
StackUtils.set(stack, pages, "pages");
Minecraft.getMinecraft().displayGuiScreen(new GuiScreenBook(player, stack, false));
}
Aggregations