add structures file for minecraft

This commit is contained in:
denver 2023-02-12 02:15:55 +03:00
parent 0cef129db6
commit 4d926b1cfd

View File

@ -0,0 +1,17 @@
package minecraftgame
type JavaVersion struct {
Version `json:"version"`
Specifics []struct {
Os string `json:"os"`
Arch string `json:"arch"`
URL string `json:"URL"`
Sha1 string `json:"SHA1"`
} `json:"specifics"`
}
type Version struct {
Major string `json:"major"`
Minor string `json:"minor"`
Patch string `json:"patch"`
}