Package mods.railcraft.common.util.network

Examples of mods.railcraft.common.util.network.PacketCurrentItemNBT


            NBTTagCompound nbt = InvTools.getItemData(ticket);
            nbt.setString("dest", dest);
            if (!nbt.hasKey("owner")) {
                nbt.setString("owner", Railcraft.proxy.getPlayerUsername(player));
            }
            PacketCurrentItemNBT pkt = new PacketCurrentItemNBT(player, ticket);
            PacketDispatcher.sendToServer(pkt);
        }
    }
View Full Code Here


            nbt.setString("author", Railcraft.proxy.getPlayerUsername(player));
            if (!bookTitle.equals(""))
                nbt.setString("title", bookTitle);

            PacketCurrentItemNBT pkt = new PacketCurrentItemNBT(player, bookStack);
            PacketDispatcher.sendToServer(pkt);
        }
    }
View Full Code Here

TOP

Related Classes of mods.railcraft.common.util.network.PacketCurrentItemNBT

Copyright © 2018 www.massapicom. 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.