Skip to content

Language support and adding libraries

Olafcio1 edited this page Sep 18, 2026 · 4 revisions

This guide assumes you've already created and setup an Avoid project.


§ Requiring a Maven Library in Avoid Framework


  1. Open your project's src/main/resources/avoid.mod.json file.

  2. Paste the following code:

    "libraries": [
       "org.apache.groovy:groovy:5.0.6"
    ]

    It should look like this:

    image

    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


  1. Groovy: org.apache.groovy:groovy:5.0.6
  2. Kotlin:
    • org.jetbrains.kotlin:kotlin-stdlib:2.4.20
    • org.jetbrains.kotlin:kotlin-reflect:2.4.20

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

Clone this wiki locally