跳到正文

Iconic

作者:Sindercube

A library for creating customizable content mods

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Requires Fabric API
Hosted On Cloudsmith

About

Iconic is a library mod for creating customizable mods

⚠️ Caution

This project is not stable yet and may change significantly between versions

Usage

Add the Sindercube Cloudsmith Maven to your build file and add Iconic as a dependency

build.gradle

repositories {
	maven { url = "https://dl.cloudsmith.io/public/sindercube/artifacts/maven/" }
}

dependencies {
	modImplementation "org.sindercube:iconic:$iconic_version"
}

Features (W.I.P.)

Effect Holder API

Create objects that hold effects the same way Enchantments do by implementing the EffectHolder interface.
Make the effects usable by items by making a new item component and implementing ItemEffectHolder<EffectHolder>.
Finally, add the item component to the iconic/tags/data_component_type/effect_holder.json tag.

Tooltip Holders

Automatically add components that implement TooltipAppender to item tooltips by adding them to the iconic/tags/data_component_type/tooltip_holder.json tag.

常见问题

Iconic 支持哪些 Minecraft 版本?

Iconic 支持 Minecraft Java 版 1.19–1.21.1,共 7 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Iconic 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

Sindercube 的其他作品

查看全部 →