
Item Components
Change the default components for items! Server-side and data-driven, refreshes on /reload! (and does it properly)
Обновлён 28 ноября 2024 г. · опубликован 20 августа 2024 г.
Item Components
✅ Features
- Server-side at no cost of quirkyness on the client
- Data-driven through datapacks, read below for the how.
- Reloadable on the fly via /reload. No restarting a server or client, or rejoining a world.
- Supports modded items and modded item components
- Modpack creation made easy, by putting the power of balancing in your hands
❓ What can I do with it?
For a full list of things you can change, visit the Minecraft Wiki on Data component format.
A non-exhaustive list of things you add, remove or change on any item:
- Max stack size
- Armor, damage & attack speed values
- Default placement state
- Enchantment glint
- Fireproof
- Nutrition, saturation, eating time & effects
- Tooltips
- Name & lore
- Jukebox song
- Max damage
- Rarity
- Default mining speed, durability change & effective blocks
- Unbreakable
In essence, any item, modded or vanilla, can be changed in any way you might want.\
⚙️ Datapack creation
Components on (an) item(s) can be changed by adding an entry under <namespace>:item_components/<path>.json.
Entries have 3 fields, all optional:
parents: an ID or an array of IDs- The entries to inherit. Note that only the parent's parents and parent's components are inherited, not the parent's targets.
targets: an item ID, an item tag suffixed with '#' or an array of item IDs- The items to apply the component changes to.
components: a component changes object- The component changes to apply to the items.
Версии
| Версия | Канал | Игра | Загрузчики | Дата | Скачать |
|---|---|---|---|---|---|
| 1.2+1.21.2 | Релиз | 1.21.8, 1.21.9, 1.21.10, 1.21.11 | fabric | 28 ноября 2024 г. | .jar (48 КБ) |
| 1.1+1.21.2 | Релиз | 1.21.2, 1.21.3 | fabric | 23 октября 2024 г. | .jar (48 КБ) |
| 1.1+1.21 | Релиз | 1.21, 1.21.1 | fabric | 23 октября 2024 г. | .jar (47 КБ) |
| 1.0+1.20.5 | Релиз | 1.20.5, 1.20.6 | fabric | 11 сентября 2024 г. | .jar (46 КБ) |
| 1.0+1.21 | Релиз | 1.21, 1.21.1 | fabric | 10 сентября 2024 г. | .jar (46 КБ) |
Ченджлог
1.2+1.21.2Релиз1.21.9, 1.21.10, 1.21.11 · 28 ноября 2024 г.
Fix #5 Stack Size Component Isn't Applied Until Reload Fix #6 Data Component Types using Codecs that rely RegistryOps fail
1.1+1.21Релиз1.21, 1.21.1 · 23 октября 2024 г.
Fix #2 oωo-lib Conflict Prevents Stacking in Furnaces
Полная история изменений — на Modrinth.
Комментарии
Загружаем…