Skip to content

Creating your mod

Olafcio1 edited this page Aug 28, 2026 · 10 revisions

Since Avoid supports multiple modloaders, it also has a connected way of creating mods that use its API.
Here's how you can make a mod with it:


1. Creating your project

(Prerequisites: GitHub account)


  1. Open the Avoid Mod Template in a new tab, and click Use Template.
image
  1. Then, select Create a new repository.
image

2. Opening your project

(Prerequisites: Git Bash, IntelliJ IDEA)


  1. Click Win + R and type cmd
  2. In that command prompt, type mkdir %USERPROFILE%\IdeaProjects & cd %USERPROFILE%\IdeaProjects & git clone [your_github_repo_link] & idea
  3. In the opened IntelliJ IDEA, click Open Project, and select the folder of your repository name in the IdeaProjects folder.

3. Using build tasks


You can configure build tasks like this:

  1. Click on the Current File text on the menubar of your IDE:

    image

  2. Click on the Edit Configurations... button in the context menu that opened:

    image

  3. Click on the plus icon in the window that opened:

    image

  4. Select Gradle:

    image

  5. Check Store project file and set the command as build --no-rebuild:

    image

  6. Click OK:

    image

Now, you can use it by clicking the new appeared option:

image

If you want to run the Fabric client, you can add a runClient task.
If you want to run the Fabric server, you can add a runServer task.


Avoid Framework


    🏚️ 1. Home
    📽️ 2. Creating your mod
    🌄 3. Adding assets to your mod
    🧊 4. Creating a block
    💧 5. Creating a fluid
    ✏️ 6. Creating an item
    🎯 7. Creating an entity selector
    🤖 8. Creating a command
    ⌨️ 9. Creating a keybind
    🐺 10. Creating an entity
    🌫️ 11. Creating a fog
    🔩 12. Creating an item component
    🔮 13. Creating an effect

Clone this wiki locally