跳到正文

Euclid’s Elements

作者:Solstice

Library for Customizable Content Mods

收藏

介绍

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

Cloudsmith

About

Euclid’s Elements is a library mod for creating customizable content mods.

Usage

Add the Solstice Maven to your build file.

build.gradle

repositories {
    maven { url "https://dl.cloudsmith.io/public/solstice-mc/artifacts/maven/" }
}

Then add Euclid’s Elements as a dependency.

build.gradle

dependencies {
    modImplementation "org.solstice:Euclids-Elements:${euclids_elements_version}"
}

Features

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 euclids_elements/tags/data_component_type/effect_holder.json tag.

Tooltip Holders (W.I.P.)

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

常见问题

Euclid’s Elements 支持哪些 Minecraft 版本?

Euclid’s Elements 支持 Minecraft Java 版 1.21.1–1.21.6,共 6 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Euclid’s Elements 怎么安装?

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

评论

登录后评论和评分