Posted June 23, 201312 yr Hello, I've made a custom storage system which holds an Integer number of energy but this will only update on the server. How can I send this Variable to the client to indicate the Value over a Renderer? (The renderer is already done and working) I'm looking forward for any Help Busti PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.
June 23, 201312 yr You just send the information to the player. I suggest following this tutorial: http://www.minecraftforge.net/wiki/Advanced_Packet_Handling I use it myself. I even use it for small packet handling... I just find it easy to use. I am Mew. The Legendary Psychic. I behave oddly and am always playing practical jokes. I have also found that I really love making extremely long and extremely but sometimes not so descriptive variables. Sort of like what I just did there
June 23, 201312 yr Author Oh. I forgot to say that it is a Block which holds the variable. PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.
June 23, 201312 yr Is a tile entity attached to the block? If not, make one for it. I am guessing you have done that because how else would you store the variable? You make a packet that obtains the information yada yada. I think you should know how to do it? I am Mew. The Legendary Psychic. I behave oddly and am always playing practical jokes. I have also found that I really love making extremely long and extremely but sometimes not so descriptive variables. Sort of like what I just did there
June 23, 201312 yr Oh. I forgot to say that it is a Block which holds the variable. As long as the variable is static or you have a reference to your block in your base mod class, it doesn't matter. You'll still have to stick to packets. After all, that's how the Internet works: send packets from clients to servers and vice versa.
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.