Skip to content

1: Installation

Emafire003 edited this page Feb 18, 2024 · 6 revisions

Installation

Normal Player / Modpack dev

Fabric

If you are a player and you want to install this mod to change the color of the Glowing effect on your own, just download the mod from Modrinth or CurseForge and drop it in your mods along with Fabric API. Nothing more. (Your /mods/ folder is inside %appdata% --> .minecraft/ as you may know)

MAKE SURE TO DOWNLOAD THE FABRIC VERSION OF THE MOD!

Forge

If you are a player and you want to install this mod to change the color of the Glowing effect on your own, just download the mod from Modrinth or CurseForge and drop it in your mods. Nothing more. (Your /mods/ folder is inside %appdata% --> .minecraft/ as you may know)

MAKE SURE TO DOWNLOAD THE FORGE VERSION OF THE MOD!

Where to use what (Server managers)

To make this mod work on a server you will need to put the file both on the server and client. The server part is the one that is going to interact with other mods, while the client one is just going to render the values it gets from the server.

Developer

If you want to use this mod in your project you can use the maven repository provided by Modrinth, like so.

Fabric/Quilt

Insert this into your build.gradle

repositories {
    maven {
        name = "Modrinth"
        url = "https://api.modrinth.com/maven"
        content {
            includeGroup "maven.modrinth"
        }
    }
}

dependencies {
    modImplementation "maven.modrinth:coloredglowlib:<version>"
}

Add +nocca to the version if you are already using CardinalComponentsAPI in your mod to have a smaller size file. The modules need by CGL are base,entity and scoreboard.

Forge

Insert this into your build.gradle

repositories {
    maven {
        name = "Modrinth"
        url = "https://api.modrinth.com/maven"
        content {
            includeGroup "maven.modrinth"
        }
    }
}

dependencies {
    implementation "maven.modrinth:coloredglowlib:<version>+forge"
}

You have to change <version> to the version of the mod you want to use, generally you should use the latest one. You can check the versions page on Modrinth to get the version number to use.

You could also put include "maven.modrinth:coloredglowlib:<version>" under the modImplementation to bundle this lib with you mod (Jar-in-Jar dependency).