From b3e327d9e9de55b18cd8272f65f9e93387134e02 Mon Sep 17 00:00:00 2001 From: LordMZTE Date: Tue, 2 Jun 2020 16:56:27 +0200 Subject: [PATCH] Fix javadoc --- .../ley/anvil/addonscript/v1/AddonscriptJSON.java | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/main/java/ley/anvil/addonscript/v1/AddonscriptJSON.java b/src/main/java/ley/anvil/addonscript/v1/AddonscriptJSON.java index f794b5a..2f11f1c 100644 --- a/src/main/java/ley/anvil/addonscript/v1/AddonscriptJSON.java +++ b/src/main/java/ley/anvil/addonscript/v1/AddonscriptJSON.java @@ -182,6 +182,9 @@ public class AddonscriptJSON extends JSON { } + /** + * + */ public static class File { /** * The ID of this file. @@ -193,8 +196,8 @@ public class AddonscriptJSON extends JSON { public String id; /** * The installer for this file - * Format: ::... - * Installer ID can be internal. + * Format: <installerid>:<param 1>:<param 2>... + * Installer ID can be internal.<some internal installer> */ public String installer = "internal.override"; /** @@ -204,7 +207,7 @@ public class AddonscriptJSON extends JSON { public String file; /** * A list of parameters for this file. - * Currently supportet parameters: + * Currently supported parameters: * "required" - This file is required for the addon * "optional" - This file is optional for the addon * "client" - This file works on the client side @@ -217,13 +220,13 @@ public class AddonscriptJSON extends JSON { public static class Relation { /** * The installer for this file - * Format: ::... - * Installer ID can be internal. + * Format: <installerid>:<param 1>:<param 2>... + * Installer ID can be internal.<some internal installer> */ public String installer = "internal.dir:mods"; /** * A link to the file, a link to another Addonscript JSON file or an artifact String - * Artifact String format: > + * Artifact String format: <repository id>><repository specific string> */ public String file; /**