https://github.com/solstice-mc/euclids-elements
Library for Customizable Content Mods
https://github.com/solstice-mc/euclids-elements
fabric-library minecraft-library
Last synced: 11 months ago
JSON representation
Library for Customizable Content Mods
- Host: GitHub
- URL: https://github.com/solstice-mc/euclids-elements
- Owner: Solstice-MC
- License: other
- Created: 2025-03-29T14:52:04.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-16T14:48:12.000Z (11 months ago)
- Last Synced: 2025-07-16T22:57:00.428Z (11 months ago)
- Topics: fabric-library, minecraft-library
- Language: Java
- Homepage: https://modrinth.com/project/Euclids-Elements
- Size: 2.23 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.cloudsmith.com)
# About
**Euclid's Elements** is a library mod for creating customizable content mods.
> [!CAUTION]
> The API is not stable yet and may change significantly between versions.
# Usage
Add the Solstice Cloudsmith Maven to your build file and add Euclid's Elements as a dependency.
`build.gradle`
```groovy
repositories {
maven { url = "https://dl.cloudsmith.io/public/solstice-mc/artifacts/maven/" }
}
dependencies {
modImplementation "org.solstice:euclids-elements:${euclids_elements_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`.
Finally, add the item component to the `euclids_elements/tags/data_component_type/effect_holder.json` tag.
## Tooltip Holders
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.