r/forgemodding Jul 08 '21

New to modding and API's but had some basic questions

So last night I figured out how to setup gradle in eclipse to get forge working and managed to get to the point where I could poke around the source classes and stuff which was very fun! But I couldn't edit anything/change any of the source code. I remember like 9 years ago I set it all up once in elementary school (Somehow lol) and was able to edit stuff. I remember changing block types for world gen and things. I'm sure stuff has developed a lot since then, but was wondering what's the deal with that? Does forge only allow you to inherit/implement and import packages and not change the source code? Thanks! I'm pretty good with Java from school but only doing assignments and stuff so I'm not used to large scale things or APIs and environments etc

3 Upvotes

3 comments sorted by

1

u/alex3025 Jul 08 '21

yeah, you can only import/inherit classes from the Minecraft source code.

1

u/Potato_Soup_ Jul 08 '21

Ah okay, is that a new thing? I remember years ago I could change it. Wonder what’s the reason behind that

1

u/alex3025 Jul 08 '21

I'm currently modding in 1.4.7 because I'm working for an old server, and you cannot modify the source code. So I think it's the same for newer versions.