Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

how to edit minecrafts files


Recommended Posts

Hi, so im new to using forge for modding, but when i used mcp i was able to change the original minecraft folders. Basically i want to change the GuiButton, but im not able to edit any of the original minecraft files. On mcp i could just click on GuiButton.java and do what i wanteed with it, but now its GuiButton.class and im not able to edit it. Is there any way of editing this file, and any of the other mineraft files or no? If not is there any other way i can try to have custom gui buttons and what not.

Link to post
Share on other sites

You don't. That's the point. Minecraft should be treated as a library. You should write your mod in a way that doesn't break other things.

If you can't do something then think about what you're doing and see if it'd be a good fit to include in Forge. 

As Forge is designed to fill in the gaps where vanilla api fails.

 

Also, you don't need to edit GuiButton to have a "custom gui button" This is java.. you can extend the object and change whatever you want. To use those changes just use your subclass instead of vanilla's.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Patreon: http://www.patreon.com/lexmanos
Paypal: http://paypal.me/LexManos

BitCoin: 1Q8rWvUNMM2T1ZfDaFeeYQyVXtYoeT6tTn

Link to post
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.

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.



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.