简介
Euclid's Elements 是一个用于创建可定制内容模组的库模组。
使用方法
将 Solstice Maven 添加到你的构建文件中。
build.gradle
repositories {
maven { url "https://dl.cloudsmith.io/public/solstice-mc/artifacts/maven/" }
}
然后将 Euclid's Elements 添加为依赖项。
build.gradle
dependencies {
modImplementation "org.solstice:Euclids-Elements:${euclids_elements_version}"
}
特性
Effect Holder API
通过实现 EffectHolder 接口,以与附魔相同的方式创建持有效果的对象。
通过创建新的物品组件并实现 ItemEffectHolder<EffectHolder>,使效果可由物品使用。
最后,将该物品组件添加到 euclids_elements/tags/data_component_type/effect_holder.json 标签中。
Tooltip Holders (W.I.P.)
通过将实现了 TooltipAppender 的物品组件添加到 euclids_elements/tags/data_component_type/tooltip_holder.json 标签中,自动将这些组件添加到物品提示文本中。
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
下载 Euclid's Elements
下载 Euclid's Elements
下载 Euclid's Elements
下载 Euclid's Elements
下载 Euclid's Elements
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 为启动画面文本加载器添加错误处理,而不是导致游戏崩溃
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
评论 0
登录后参与评分
还没有评论,来抢沙发吧