mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-26 06:53:20 +00:00
Add a type adapter for artifact version. Should fix #354
This commit is contained in:
1 parent
79d42fca8d
commit
7907e16e96
2 files changed
+29
-4
No files matched your search
@@ -43,14 +43,17 @@ public class ModMetadata
|
||||
public String parent = "";
|
||||
public String[] screenshots;
|
||||
|
||||
public ModContainer parentMod;
|
||||
public List<ModContainer> childMods = Lists.newArrayList();
|
||||
// this field is not for use in the json
|
||||
public transient ModContainer parentMod;
|
||||
// this field is not for use in the json
|
||||
public transient List<ModContainer> childMods = Lists.newArrayList();
|
||||
|
||||
public boolean useDependencyInformation;
|
||||
public Set<ArtifactVersion> requiredMods;
|
||||
public List<ArtifactVersion> dependencies;
|
||||
public List<ArtifactVersion> dependants;
|
||||
public boolean autogenerated;
|
||||
// this field is not for use in the json
|
||||
public transient boolean autogenerated;
|
||||
|
||||
public ModMetadata()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user