There was an error while loading. Please reload this page.
This guide assumes you've already created and setup an Avoid project.
§ Making an item component with the Avoid Framework
Go to your mod's main class, and override the onLoad method if you didn't yet. Then, paste this into it:
onLoad
ItemComponents.create("avoidtestproject:poop", Payload.TYPE);
Of course, you need to replace these values. Replace:
avoidtestproject:poop
Payload.TYPE
The component ID should use your mod's ID.
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