use of com.mart.solar.client.gui.GuiRitualVisualizer in project Solar by Martacus.
the class PageRitualComponent method mouseClicked.
@Override
public void mouseClicked(int mouseX, int mouseY) {
if (!this.hovered) {
return;
}
GuiRitualVisualizer ritualVisualizer = new GuiRitualVisualizer(this.ritual);
GuiBook book = GuiPagesManager.getPlayerGUI(Minecraft.getMinecraft().player);
book.setCurrentGui(ritualVisualizer);
Minecraft.getMinecraft().displayGuiScreen(ritualVisualizer);
}
Aggregations