Jump to content

[1.6.4] Updating a mod from 162 single player to 164 SMP


Recommended Posts

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!

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.