Euclid's Elements

Quick rating

Community listing page, reviews here may not be monitored by the author.

Euclid's Elements

By Solstice

No reviews yet

Library for Customizable Content Mods

Mod Loaders
Minecraft

About

Description

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.