WorldEdit

WorldEdit

44M Downloads

Feature Request: Machine-readable list of which WE version is meant for which other software versions (Minecraft, Fabric etc.)

mk-pmb opened this issue ยท 2 comments

commented

The Problem

I'm trying to get machine-readable compatibility information. Most importantly, which WorldEdit version is meant for which Minecraft version, and which commit to use for building it. (I can probably use the tags for the latter part.)

I investigated tag 7.2.14 = commit 094b734 and found that the CHANGELOG gives good clues, but I'm not sure how reliable that would be, because it's meant to be read by humans, not machines. For example, while a search for "1.19.2" yields a single line and thus is at least unambiguous in that aspect, the line is prefixed with [Bukkit] so it probably means something other than the - Update to lines. However, using only - Update to lines would give no result for which WE is compatible with MC 1.19.2.

A Solution

Would you mind keeping a CSV file (or maybe JSON) with, for each WE version, the versions of all targeted software? (Minecraft, Bukkit, Fabric, not sure what else)
Once we have that, add a hint to COMPILING.md about how users can determine which version of WE they need to compile.

Alternatives

  • Circumvent CurseForge's anti bot defenses to scrape the info from there. (Nope. There needs to be a FOSS way.)

Anything Else?

No response

commented

I discovered that I can get the Minecraft version info from worldedit-fabric/build.gradle.kts.
I'll write a script to collect the info that way for now (Edit: done, results), but I'll keep this issue open in case you're interested in providing the info more easily, and also for the COMPILING.md hint.

commented

somewhat relates to #2225
and has the same issue that "version built on" doesn't equal "versions compatible with"