-
Notifications
You must be signed in to change notification settings - Fork 0
Language support and adding libraries
This guide assumes you've already created and setup an Avoid project.
§ Requiring a Maven Library in Avoid Framework
-
Open your project's
src/main/resources/avoid.mod.jsonfile. -
Paste the following code:
"libraries": [ "org.apache.groovy:groovy:5.0.6" ]
It should look like this:

Of course you can change groovy to any other maven library, e.g. Kotlin, Apache Commons, etc.
Please note that this only works for packages in the official maven repository!
For other cases, use shadowing or library mods/plugins/addons.
§ List of language packages
- Groovy:
org.apache.groovy:groovy:5.0.6 - Kotlin:
org.jetbrains.kotlin:kotlin-stdlib:2.4.20org.jetbrains.kotlin:kotlin-reflect:2.4.20
©️ 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
📚 14. Language support & adding libraries