How to Make a Procedure in Minecraft (Mod Maker guide)

Learn how to create a Procedure in 9Minecraft Mod Maker right in your web browser. Design a flow of events and add custom logic to your Minecraft mod easily.

  1. Open the Studio and a workspace

    Open 9Minecraft Mod Maker directly in your web browser. Because it runs online, there is nothing to download or install.

    Open an existing workspace or start a new one. Your workspace can be set to supported Minecraft versions like NeoForge 26.1.2 or NeoForge 1.21.1.

  2. Add a new Procedure element

    Look for the green plus button inside your workspace and click it to add a new mod element.

    Go to the Logic & code group and select Procedure. Give your new Procedure a clear name so you can find it later.

  3. Design your flow of events

    A Procedure is a graphically designed flow of events. You can now use the editor to put together the events you want to happen in your mod.

    You can also set up optional global triggers depending on when you want your flow of events to run.

  4. Check the dependencies setting

    Find the field named Skip null check for dependencies. If this option is enabled, the procedure will be executed even if one of the dependencies is null.

    Unchecked null values can crash the game, so you should keep Skip null check for dependencies disabled in most cases.

  5. Add manual null checks if needed

    If you did choose to enable Skip null check for dependencies, you must insert null checks manually inside the procedure.

    You can do this by using the null comparison procedure block, which is found in the Advanced tab.

  6. Test with Build and run

    Save your Procedure element when you are happy with your flow of events.

    Click the Build & run button in the studio to test your new logic and make sure everything works without crashing.

  7. Export your finished mod

    Once your test is successful, use the export option in the studio to get your finished mod file for NeoForge 26.1.2 or NeoForge 1.21.1.

Tips

Try it in the Studio All procedure fields explained →