Euclid's Elements
作者:rebot | 分类:模组
Minecraft 版本: 1.21.1
平台: fabric
标签: library utility
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.
请登录后举报
暂无评论,抢个沙发吧~