Skip to content

Adding block item assets

Olafcio1 edited this page Sep 18, 2026 · 1 revision

This guide assumes you've already created and setup an Avoid project.
Avoid does not yet provide a datagen or pack manipulation classes. You may need to use net.minecraft for that.


§ Adding block item assets with the Avoid Framework


  1. In your project src/main/resources, create the folder assets/{yourModID}.
    In that folder, create the following structure:

    ↳ items
     ↳ {yourItemID}.json

    (Replace {yourModID} with your mod ID, e.g. testmod.
     Replace {yourItemID} with your item name ID-ified, e.g. magic_wand.)
  2. Now:

    • in the items/{yourItemID}.json file, paste the following content:

      {
        "model": {
          "type": "minecraft:model",
          "model": "minecraft:block/{yourBlockID}"
        }
      }


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