add structures file for minecraft
This commit is contained in:
parent
0cef129db6
commit
4d926b1cfd
17
games/minecraftgame/structures.go
Normal file
17
games/minecraftgame/structures.go
Normal 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"`
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user