Fixed javadoc

This commit is contained in:
Auxilor
2022-03-07 10:16:52 +00:00
parent f5eafafc4c
commit c50f69b372
2 changed files with 6 additions and 6 deletions

View File

@@ -40,9 +40,9 @@ public abstract class CustomGoal<T extends Mob> implements EntityGoal<T>, Target
/**
* Tick the goal.
* <p>
* Runs ever tick as long as {@link this#canUse()} returns true.
* Runs ever tick as long as canUse returns true.
* <p>
* Runs after {@link this#start()}.
* Runs after start().
*/
public void tick() {
// Override when needed.
@@ -51,7 +51,7 @@ public abstract class CustomGoal<T extends Mob> implements EntityGoal<T>, Target
/**
* Start the goal.
* <p>
* 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<T extends Mob> implements EntityGoal<T>, Target
/**
* Stop the goal.
* <p>
* Runs once {@link this#canUse()} returns false.
* Runs once canUse() returns false.
*/
public void stop() {
// Override when needed.

View File

@@ -16,7 +16,7 @@ public interface LookupHandler<T extends Testable<?>> {
* <p>
* 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<T extends Testable<?>> {
/**
* Get the failsafe object.
* <p>
* 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.
*