
Annotated DI
Dependency Injection library for Minecraft mods
Обновлён 21 июня 2026 г. · опубликован 7 июля 2021 г.
Annotated DI is a wrapper around Guice with a few extra utilities added for more convenient use with Minecraft mods. This allows the Dependency Injection design pattern to be used when making mods and APIs for them.
Extra utilities for modders:
- The @Implementation annotation, which can be used to wire up all the dependencies conveniently without needing to make a separate file to configure all the bindings, and without forcing the API to have a compile time dependency on the implementation.
- A central Injector, which allows mods to inject classes/interfaces from other mods.
- An entrypoint/event that provides a way for modders to add a custom Module to the Injector when it's created - most mods won't need this unless they're doing some advanced bindings of some kind.
Documentation for developers can be found on the wiki.
Q&A
How does this help users?
Mods that are designed to use this can be easier to maintain than mods that don't use it, which can result in faster updates. It's not the right solution for every mod, but it can be useful for some, especially when making an API that other mods can use.
Does this do anything on its own?
It shows up in the mod list, but that's about it.
Does this download mod dependencies for you?
No
Версии
| Версия | Канал | Игра | Загрузчики | Дата | Скачать |
|---|---|---|---|---|---|
| 4.0.9+1.21.11+fabric | Релиз | 1.21.8, 1.21.9, 1.21.10, 1.21.11 | fabric, quilt | 21 июня 2026 г. | .jar (845 КБ) |
| 4.0.9+1.20.6+fabric | Релиз | 1.20.5, 1.20.6 | fabric | 21 июня 2026 г. | .jar (845 КБ) |
| 4.0.9+1.20.4 | Релиз | 1.20.2, 1.20.3, 1.20.4 | forge | 21 июня 2026 г. | .jar (841 КБ) |
| 4.0.9+1.20.4+fabric | Релиз | 1.20.1, 1.20.2, 1.20.3, 1.20.4 | fabric, quilt | 21 июня 2026 г. | .jar (845 КБ) |
| 4.0.9+1.20.1 | Релиз | 1.20, 1.20.1 | forge | 21 июня 2026 г. | .jar (841 КБ) |
| 4.0.9+1.20.1+fabric | Релиз | 1.20, 1.20.1 | fabric, quilt | 21 июня 2026 г. | .jar (845 КБ) |
| 4.0.9+1.19.4+fabric | Релиз | 1.19.1, 1.19.2, 1.19.3, 1.19.4 | fabric, quilt | 21 июня 2026 г. | .jar (845 КБ) |
| 4.0.9+1.19.4 | Релиз | 1.19.1, 1.19.2, 1.19.3, 1.19.4 | forge | 21 июня 2026 г. | .jar (841 КБ) |
| 4.0.9+1.18.2+fabric | Релиз | 1.18, 1.18.1, 1.18.2 | fabric, quilt | 21 июня 2026 г. | .jar (845 КБ) |
| 4.0.9+1.18.2 | Релиз | 1.18, 1.18.1, 1.18.2 | forge | 21 июня 2026 г. | .jar (841 КБ) |
| 4.0.9+1.17.1+fabric | Релиз | 1.17, 1.17.1 | fabric, quilt | 21 июня 2026 г. | .jar (3.4 МБ) |
| 4.0.9+1.16.5+fabric | Релиз | 1.16.2, 1.16.3, 1.16.4, 1.16.5 | fabric, quilt | 21 июня 2026 г. | .jar (3.4 МБ) |
| 4.0.9+1.15.2+fabric | Релиз | 1.14.4, 1.15, 1.15.1, 1.15.2 | fabric, quilt | 21 июня 2026 г. | .jar (3.4 МБ) |
| 4.0.8+1.21.11+fabric | Релиз | 1.21.8, 1.21.9, 1.21.10, 1.21.11 | fabric, quilt | 21 июня 2026 г. | .jar (845 КБ) |
| 4.0.8+1.20.1 | Релиз | 1.20, 1.20.1 | forge | 21 июня 2026 г. | .jar (841 КБ) |
Показаны последние 15 из 127 версий. Все версии — на Modrinth.
Ченджлог
4.0.9+1.21.11+fabricРелиз1.21.9, 1.21.10, 1.21.11 · 21 июня 2026 г.
Add German translation
4.0.9+1.20.4Релиз1.20.2, 1.20.3, 1.20.4 · 21 июня 2026 г.
Add German translation
4.0.9+1.20.4+fabricРелиз1.20.2, 1.20.3, 1.20.4 · 21 июня 2026 г.
Add German translation
4.0.9+1.20.1Релиз1.20, 1.20.1 · 21 июня 2026 г.
[1.20/1.20.1] Fix Forge compatibility issues. Add German translation
4.0.9+1.20.1+fabricРелиз1.20, 1.20.1 · 21 июня 2026 г.
[1.20/1.20.1] Fix Forge compatibility issues. Add German translation
4.0.9+1.19.4+fabricРелиз1.19.2, 1.19.3, 1.19.4 · 21 июня 2026 г.
Add German translation
4.0.9+1.19.4Релиз1.19.2, 1.19.3, 1.19.4 · 21 июня 2026 г.
Add German translation
4.0.9+1.18.2+fabricРелиз1.18, 1.18.1, 1.18.2 · 21 июня 2026 г.
Add German translation
Полная история изменений — на Modrinth.
Комментарии
Загружаем…