Jump to content

Turn Mods and Mod Parts Off in-game.


Ben132
 Share

Recommended Posts

I am planning to make mods soon and this is a request to make it easier for me and other first time modders. 

If one thing gets in the way of testing there should be a way to temporarily disable it.  For example if I make something wrong and it is causing problems then i can disable that section.

 

This is a request for it to either be added to Forge or another mod to be created.  Thank you for reading.

Link to comment
Share on other sites

And if you're meaning in code itself, you can always comment it out. You can use /* to define the beginning of the code you'd like to disable, and you can use */ to define the end of the code you'd like to disable.

Examples:

 

Enabled Code:

Let's say this were some code...

... And this is the end of the code that you want to disable.

 

Disabled Code:

/*Let's say this were some code...
... And this is the end of the code that you want to disable.*/

 

This is of course assuming that the code you're disabling isn't being relied on by another part of your code...

 

Wtf is wrong with me? Why did I not read the thread title the first time around? :-[ Please ignore me.

Check out my

Texture Packs Thread here on the Forge Forum. :)

Currently in the process of adding some mod support for JohnSmith Texture Pack.

width=105 height=12https://www.sugarsync.com/piv/D8135159_67366891_21351[/img]

 

width=209 height=19https://www.sugarsync.com/piv/D8135159_67366891_772852[/img]

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.

Guest
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.

 Share



×
×
  • Create New...

Important Information

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