Search in sources :

Example 1 with GuiWaystoneList

use of net.blay09.mods.waystones.client.gui.GuiWaystoneList in project Waystones by blay09.

the class ClientProxy method openWaystoneSelection.

@Override
public void openWaystoneSelection(WarpMode mode, EnumHand hand, @Nullable WaystoneEntry fromWaystone) {
    WaystoneEntry[] waystones = PlayerWaystoneData.fromPlayer(FMLClientHandler.instance().getClientPlayerEntity()).getWaystones();
    Minecraft.getMinecraft().displayGuiScreen(new GuiWaystoneList(waystones, mode, hand, fromWaystone));
}
Also used : WaystoneEntry(net.blay09.mods.waystones.util.WaystoneEntry) GuiWaystoneList(net.blay09.mods.waystones.client.gui.GuiWaystoneList)

Aggregations

GuiWaystoneList (net.blay09.mods.waystones.client.gui.GuiWaystoneList)1 WaystoneEntry (net.blay09.mods.waystones.util.WaystoneEntry)1