mappings icon indicating copy to clipboard operation
mappings copied to clipboard

Publish mappings

Open solonovamax opened this issue 9 months ago • 3 comments

Hi,

I would like to be able to use the mappings in a project, and it would help a lot if the mappings could be published in some form.

This could either be to a maven-like repository (which can be used via a custom ivy repository layout in gradle), a 'true' maven repositiry, or done through github releases (all of the json & nbt files should be attached as "artifacts" to each release)

solonovamax avatar Mar 08 '25 18:03 solonovamax

Also, could generator_blocks.json from GeyserMC/mappings-generator be included in this repo as well?

solonovamax avatar Mar 08 '25 19:03 solonovamax

In Geyser we just use this as a submodule, that's likely the best way for you to go

rtm516 avatar Mar 09 '25 15:03 rtm516

In Geyser we just use this as a submodule, that's likely the best way for you to go

git submodules are yucky and cause lots of problems. it is much easier to download this either in a gradle task or as a dependency.

here is how I'm currently doing it, though I would prefer something where we can instead rely on a named version (ie. git tag, named github release, maven release, etc.): https://github.com/solonovamax/Terra/blob/d8fb1ce873b6cc780bdc6a0424e0fcac0663d675/platforms/allay/build.gradle.kts

solonovamax avatar Mar 09 '25 20:03 solonovamax