Compatibility
Minecraft: Java Edition
1.21.1–1.21.6
Platforms
Supported environments
Links
Creators
Details
Licensed LGPL-3.0-only
Published 7 months ago
Updated 3 months ago
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.



