How to Outline Your Minecraft Mod
Before you jump in and begin coding your Minecraft mod, you first need to outline it. After you understand the structure of your mod and how you want to approach breaking it up into functions, you can outline it in LearnToMod.
Follow these steps:
Go to mod.learntomod.com and click on Mod at the top of the screen.
Create a new mod and choose Blockly (Multiplayer) as the language.
Click the Code button to go to the coding environment.
Create all the functions that you outlined in your planning, but don’t fill them in yet.
Just let the functions sit in your mod, empty, with names and parameters.
Though these functions may end up changing as you iterate over your gameplay loop, it’s important to start piecing together the code early on so that you don’t miss any crucial actions.
Call the functions from the other functions as you think you would need to. For example: You will have a main function, and it might be that the main function calls all the other functions. If that is the case, put a call to each function inside of main.
These steps are important because it helps you visualize your code!