From c50f69b372eac397f04d55eb7765b29a759b9152 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Mon, 7 Mar 2022 10:16:52 +0000 Subject: [PATCH] Fixed javadoc --- .../java/com/willfp/eco/core/entities/ai/CustomGoal.java | 8 ++++---- .../java/com/willfp/eco/core/lookup/LookupHandler.java | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/eco-api/src/main/java/com/willfp/eco/core/entities/ai/CustomGoal.java b/eco-api/src/main/java/com/willfp/eco/core/entities/ai/CustomGoal.java index ab8cba29..fcd37e4d 100644 --- a/eco-api/src/main/java/com/willfp/eco/core/entities/ai/CustomGoal.java +++ b/eco-api/src/main/java/com/willfp/eco/core/entities/ai/CustomGoal.java @@ -40,9 +40,9 @@ public abstract class CustomGoal implements EntityGoal, Target /** * Tick the goal. *

- * Runs ever tick as long as {@link this#canUse()} returns true. + * Runs ever tick as long as canUse returns true. *

- * Runs after {@link this#start()}. + * Runs after start(). */ public void tick() { // Override when needed. @@ -51,7 +51,7 @@ public abstract class CustomGoal implements EntityGoal, Target /** * Start the goal. *

- * Runs once {@link this#canUse()} returns true. + * Runs once canUse() returns true. */ public void start() { // Override when needed. @@ -60,7 +60,7 @@ public abstract class CustomGoal implements EntityGoal, Target /** * Stop the goal. *

- * Runs once {@link this#canUse()} returns false. + * Runs once canUse() returns false. */ public void stop() { // Override when needed. diff --git a/eco-api/src/main/java/com/willfp/eco/core/lookup/LookupHandler.java b/eco-api/src/main/java/com/willfp/eco/core/lookup/LookupHandler.java index a61ed970..9e502f1b 100644 --- a/eco-api/src/main/java/com/willfp/eco/core/lookup/LookupHandler.java +++ b/eco-api/src/main/java/com/willfp/eco/core/lookup/LookupHandler.java @@ -16,7 +16,7 @@ public interface LookupHandler> { *

* You shouldn't override this method unless you're doing something * technically interesting or weird. This is the entry point for all - * lookup parsers, {@link this#parse(String[])} is to specify implementation-specific + * lookup parsers, parse() is to specify implementation-specific * parsing. * * @param key The key. @@ -56,7 +56,7 @@ public interface LookupHandler> { /** * Get the failsafe object. *

- * A failsafe object should never pass {@link this#validate(Testable)}, as this will + * A failsafe object should never pass validate(), as this will * cause issues with segment parsers. See {@link com.willfp.eco.core.items.ItemsLookupHandler} and * {@link com.willfp.eco.core.recipe.parts.EmptyTestableItem} for examples. *