Setup - CottonMC/LibGui GitHub Wiki
This is how to get LibGui into your development environment:
-
Add the Cotton repository:
repositories { maven { name = "CottonMC" url = "https://server.bbkr.space/artifactory/libs-release" } }Note: This is not the same
repositoriesas the one inpublishing! You have to add the repository to a top-levelrepositoriesblock. -
Add the dependency, replacing
<version>with your desired LibGui version:dependencies { modImplementation include("io.github.cottonmc:LibGui:<version>") }The
includemakes Loom bundle LibGui within your mod jar.