Euclid's Elements

Euclid's Elements

Mod

Library for Customizable Content Mods

Client and server Game MechanicsLibraryUtility

137 downloads
0 followers
Follow Save

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.


Project members

Solstice

Solstice

Organization

Details

Licensed LGPL-3.0-only
Published 5 months ago
Updated 2 months ago