diff --git a/src/main/java/ru/bclib/api/dataexchange/handler/DataExchange.java b/src/main/java/ru/bclib/api/dataexchange/handler/DataExchange.java index 3db0c347..eb59d870 100644 --- a/src/main/java/ru/bclib/api/dataexchange/handler/DataExchange.java +++ b/src/main/java/ru/bclib/api/dataexchange/handler/DataExchange.java @@ -32,8 +32,8 @@ abstract public class DataExchange { /** * A Unique ID for the referenced File. *

- * Files with the same {@link #modID} need to have a unique IDs. Normally the filename from {@link #FileHash(String, File, byte[], int, int)} - * is used to generated that ID, but you can directly specify one using {@link #FileHash(String, String, byte[], int, int)}. + * Files with the same {@link #modID} need to have a unique IDs. Normally the filename from FileHash(String, File, byte[], int, int) + * is used to generated that ID, but you can directly specify one using FileHash(String, String, byte[], int, int). */ @NotNull public final String uniqueID; @@ -156,7 +156,7 @@ abstract public class DataExchange { * Automatically called before the player enters the world. *

* This is automatically called by BCLib. It will send all {@link DataHandler}-Objects that have {@link DataHandlerDescriptor#sendBeforeEnter} set to* - * {@Code true}, + * {@code true}, */ @Environment(EnvType.CLIENT) public static void sendOnEnter(){ diff --git a/src/main/java/ru/bclib/api/dataexchange/handler/HelloServer.java b/src/main/java/ru/bclib/api/dataexchange/handler/HelloServer.java index ec42f1d9..614152ab 100644 --- a/src/main/java/ru/bclib/api/dataexchange/handler/HelloServer.java +++ b/src/main/java/ru/bclib/api/dataexchange/handler/HelloServer.java @@ -16,43 +16,43 @@ import java.io.File; /** * This message is sent once a player enters the world. It initiates a sequence of Messages that will sync files between both * client and server. - *

- * - * - * Server - * - * Client - * - * - * - * Player enters World - * - * - * - * <-- - * {@link HelloServer} - * Sends the current BLib-Version installed on the Client - * - * - * {@link HelloClient} - * --> - * - * Sends the current BClIb-Version, the Version of all Plugins and data for all AutpoSync-Files - * ({@link DataExchangeAPI#addAutoSyncFile(String, File)} on the Server - * - * - * - * <-- - * {@link RequestFiles} - * Request missing or out of sync Files from the Server - * - * - * {@link SendFiles} - * --> - * - * Send Files from the Server to the Client - * - * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ServerClient
Player enters World
<--{@link HelloServer}Sends the current BLib-Version installed on the Client
{@link HelloClient}-->Sends the current BClIb-Version, the Version of all Plugins and data for all AutpoSync-Files + * ({@link DataExchangeAPI#addAutoSyncFile(String, File)} on the Server
<--{@link RequestFiles}Request missing or out of sync Files from the Server
{@link SendFiles}-->Send Files from the Server to the Client
*/ public class HelloServer extends DataHandler { public static DataHandlerDescriptor DESCRIPTOR = new DataHandlerDescriptor(new ResourceLocation(BCLib.MOD_ID, "hello_server"), HelloServer::new, true, false);