From e69be74a11c42d54d22d106d06aa8d02f7293956 Mon Sep 17 00:00:00 2001 From: Pyrofab Date: Fri, 25 Oct 2024 23:56:26 +0200 Subject: [PATCH] Fix javadoc generation --- build.gradle.kts | 6 +++--- .../ladysnake/cca/api/v3/item/ItemComponentInitializer.java | 2 +- .../java/org/ladysnake/cca/api/v3/level/package-info.java | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 037a3426..47e02280 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -108,9 +108,9 @@ tasks.javadoc { links( "https://guava.dev/releases/21.0/api/docs/", "https://asm.ow2.io/javadoc/", - "https://docs.oracle.com/javase/8/docs/api/", - "http://jenkins.liteloader.com/job/Mixin/javadoc/", - "https://logging.apache.org/log4j/2.x/log4j-api/apidocs/" + "https://docs.oracle.com/en/java/javase/21/docs/api/", + "https://jenkins.liteloader.com/job/Mixin/javadoc/", + "https://logging.apache.org/log4j/2.x/javadoc/log4j-api/" // Need to add minecraft jd publication etc once there is one available ) // Disable the crazy super-strict doclint tool in Java 8 diff --git a/cardinal-components-item/src/main/java/org/ladysnake/cca/api/v3/item/ItemComponentInitializer.java b/cardinal-components-item/src/main/java/org/ladysnake/cca/api/v3/item/ItemComponentInitializer.java index 05dc33ac..9e8e9bf3 100644 --- a/cardinal-components-item/src/main/java/org/ladysnake/cca/api/v3/item/ItemComponentInitializer.java +++ b/cardinal-components-item/src/main/java/org/ladysnake/cca/api/v3/item/ItemComponentInitializer.java @@ -35,7 +35,7 @@ */ public interface ItemComponentInitializer extends ComponentRegistrationInitializer { /** - * Called to register component migrations from CCA to {@link net.minecraft.component.DataComponentType}. + * Called to register component migrations from CCA to {@link net.minecraft.component.ComponentType}. * * @param registry an {@link ItemComponentMigrationRegistry} for component migrations * @since 7.0.0 diff --git a/cardinal-components-level/src/main/java/org/ladysnake/cca/api/v3/level/package-info.java b/cardinal-components-level/src/main/java/org/ladysnake/cca/api/v3/level/package-info.java index fe1dca06..b70eeddb 100644 --- a/cardinal-components-level/src/main/java/org/ladysnake/cca/api/v3/level/package-info.java +++ b/cardinal-components-level/src/main/java/org/ladysnake/cca/api/v3/level/package-info.java @@ -21,7 +21,7 @@ * OR OTHER DEALINGS IN THE SOFTWARE. */ /** - * @deprecated level components are a legacy feature that has been superseded by scoreboard components + * Deprecated: level components are a legacy feature that has been superseded by scoreboard components */ @Deprecated(since = "6.0.0") @MethodsReturnNonnullByDefault