Posted May 4, 201411 yr I am looking to update a mod from 1.6.2 single player to 1.6.4 multiplayer. Right now, it has a number of cases of attempting to make rendering calls, and makes no attempt to separate server sided from client sided. Naturally, this works fine in single player. Less so on a server. What do I need to know to stop rendering calls on the server? Other than playing until a crash occurs, and then patching the code that triggered the crash, is there a good way to locate render calls? And is adding @Sided() annotations where needed the best way, or is there a better way to do this? Mod in question: Draco's More Decays for Mystcraft: https://github.com/Draco18s/Decaying-World Jeb! The sheep! The fence pens, they do nothing still leak!
May 4, 201411 yr Just add @SideOnly(Side.Client) Annotation to the rendering functions. You can see this in every rendering-related functions in minecraft, it's a common solution. I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP) II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.
May 4, 201411 yr Author Alright, I was wondering if there was a better way; that's the only way that I know, and wanted to see if there was a better tool. (And yes, I did not use the right word before.) Jeb! The sheep! The fence pens, they do nothing still leak!
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.