Tips and Tricks
Here are a few helpful insights to keep your modding experience the best it can be.
1) Stay organized
Code is very likely to get messy after some time. Organize your code in ways that you can remember what everything is.
2) Documentation
Add annotations to your mod! If someone else looks at it, they'll understand, or if you forget you'll know what's what.
3) Don't edit base classes
This can really mess up your mod. Don't unless you know what you're doing.
4) Ask questions!
Coding can and is very difficult! Don't be afraid to ask if you have a problem you can't solve.
5) KNOW BASIC JAVA
Seriously, if you don't know the slightest bit of java, or another coding language for reference, you're gonna have a bad time. Learn before you dive in to modding!
Some common errors you may come across:
1) Cannot find main class 'start'
A basic solve, simply go to project and hit clean. Run Minecraft to rebuild your workspace.
1) Stay organized
Code is very likely to get messy after some time. Organize your code in ways that you can remember what everything is.
2) Documentation
Add annotations to your mod! If someone else looks at it, they'll understand, or if you forget you'll know what's what.
3) Don't edit base classes
This can really mess up your mod. Don't unless you know what you're doing.
4) Ask questions!
Coding can and is very difficult! Don't be afraid to ask if you have a problem you can't solve.
5) KNOW BASIC JAVA
Seriously, if you don't know the slightest bit of java, or another coding language for reference, you're gonna have a bad time. Learn before you dive in to modding!
Some common errors you may come across:
1) Cannot find main class 'start'
A basic solve, simply go to project and hit clean. Run Minecraft to rebuild your workspace.