Examples of GuiTicket


Examples of mods.railcraft.client.gui.GuiTicket

    public void readData(DataInputStream data) throws IOException {
        try {
            EntityPlayer player = Minecraft.getMinecraft().thePlayer;
            ItemStack current = player.getCurrentEquippedItem();
            if (current != null && current.getItem() == ItemTicketGold.item)
                Minecraft.getMinecraft().displayGuiScreen(new GuiTicket(player, current));
        } catch (Exception exception) {
            Game.logThrowable("Error reading Golden Ticket Gui Packet", exception);
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.