-
Notifications
You must be signed in to change notification settings - Fork 0
Creating your mod
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)
- Open the Avoid Mod Template in a new tab, and click
Use Template.
- Then, select
Create a new repository.
2. Opening your project
(Prerequisites: Git Bash, IntelliJ IDEA)
- Click
Win + Rand typecmd - In that command prompt, type
mkdir %USERPROFILE%\IdeaProjects & cd %USERPROFILE%\IdeaProjects & git clone [your_github_repo_link] & idea - 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:
-
Click on the
Current Filetext on the menubar of your IDE:

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

-
Click on the plus icon in the window that opened:

-
Select
Gradle:

-
Check
Store project fileand set the command asbuild --no-rebuild:

-
Click
OK:

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

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.
©️ Copyright 2026 Olafcio (on behalf of the AvoidLib org)
📝 Licensed with CC BY-NC (Attribution-NonCommercial)
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