Item Components
Change the default components for items! Server-side and data-driven, refreshes on /reload! (and does it properly)
介绍
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.
常见问题
Item Components 支持哪些 Minecraft 版本?
Item Components 支持 Minecraft Java 版 1.21–1.21.6,共 7 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Item Components 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
boyonk913 的其他作品
查看全部 →Bundle Scroll
Unlock the full potential of bundles by cycling through the contents of a bundle using the scroll wheel
Better Impaling
Impaling deals extra damage to mobs touching water or rain, ensuring parity with Bedrock Edition
Smoke Signals
Allows campfire smoke to be coloured based on the block placed below. Revolutionize long-distance communication!
Enchanted Bookshelves
Enchanted Books will glint when put in Chiseled Bookshelves! Give your enchanting room a cosmetic shine!
评论
登录后评论和评分