Posted July 23, 20178 yr Hello, I am trying to update a mod to 1.12 from 1.7 but I can't find the client side events I looking for. I have a Client side capability where there is a Thread to get information from a local socket then it will send it to the server. I would need a PlayerEvent.Clone so I can maintain reference to the Thread and PlayerLoggedOutEvent to stop the Thread when quitting a game But for clients side.
July 23, 20178 yr Author The type of information I an getting is EEG (Electroencephalography) from the thinkgear connector. I can tell how focus and relax you are and with this information I can make a Sword will do more damage if the player have a higher focus. Here is a link to the old version Neuro Control for 1.7 Edited July 23, 20178 yr by Gem2578
July 23, 20178 yr Author Thank you for the suggestion, FMLNetworkEvent worked. Now I just need to think of a way to keep or get a reference to the Thread that is connected to the thinkgear connector. As I am using a Capability attached to the player but as the docs say when the player dies the Capability is loss and PlayerEvent.Clone makes no sense on the client. Maybe a static class with a client side proxy.
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.