Posted January 4, 201312 yr I checked the Packet132TileEntity but have no idea how to send packet of tileentity from server to client?
January 5, 201312 yr Author All you do is override getDescriptionPacket and onDataPacket in your TileEntity. But that will only be called at the start of the game.How about send packet once a second?
January 5, 201312 yr On server side execute "world.markBlockForUpdate(x, y, z);" with x,y,z being the respective coordinates of your tile entity. Override of getDescriptionpacket is needed for this to work, also override onPacketData in your tile entity handling the packet that comes from the server.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.