This project depends on NMS, which shouldn't be redistributed. This means you'll have to build some of the dependencies yourself. (TODO: a script/tool for this would be handy)
How to compile:
- Use BuildTools normally and create a remapped jar (use
--remapped
) for every NMS version UC depends on. Currently, those versions are 1.18.2 and 1.19.3. - Open a shell in the UC folder, and run
./gradlew obfuscate
. Using tasksbuild
orjar
will not produce a jar that works with NMS because of the Mojang mappings. - The built UC jar is at
build/libs/UltraCosmetics-<version>-<buildtype>.jar
. Do NOT use the other jar that saysobfuscated-donotuse
, it won't work.
And you're done!