-
Notifications
You must be signed in to change notification settings - Fork 0
Adding block item assets
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
-
In your project
src/main/resources, create the folderassets/{yourModID}.
In that folder, create the following structure:↳ items
↳{yourItemID}.json -
Now:
-
in the
items/{yourItemID}.jsonfile, paste the following content:{ "model": { "type": "minecraft:model", "model": "minecraft:block/{yourBlockID}" } }
-
©️ 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