diff --git a/api/src/main/java/com/seibel/distanthorizons/api/interfaces/override/worldGenerator/IDhApiWorldGenerator.java b/api/src/main/java/com/seibel/distanthorizons/api/interfaces/override/worldGenerator/IDhApiWorldGenerator.java index 822569545..3ffad856b 100644 --- a/api/src/main/java/com/seibel/distanthorizons/api/interfaces/override/worldGenerator/IDhApiWorldGenerator.java +++ b/api/src/main/java/com/seibel/distanthorizons/api/interfaces/override/worldGenerator/IDhApiWorldGenerator.java @@ -90,7 +90,7 @@ public interface IDhApiWorldGenerator extends Closeable, IDhApiOverrideable * Please run your generator in game at least once to confirm the objects you are returning are correct.

* * Consumer expected inputs for each minecraft version (in order):
- * 1.18: {@link net.minecraft.world.level.chunk.ChunkAccess} and {@link net.minecraft.world.level.LevelReader}
+ * 1.18: [net.minecraft.world.level.chunk.ChunkAccess] and [net.minecraft.world.level.LevelReader]
*/ CompletableFuture generateChunks(int chunkPosMinX, int chunkPosMinZ, byte granularity, byte targetDataDetail, EDhApiDistantGeneratorMode generatorMode, diff --git a/api/src/main/java/com/seibel/distanthorizons/api/methods/events/interfaces/IDhApiCancelableEvent.java b/api/src/main/java/com/seibel/distanthorizons/api/methods/events/interfaces/IDhApiCancelableEvent.java index 4168f699a..9b22626a8 100644 --- a/api/src/main/java/com/seibel/distanthorizons/api/methods/events/interfaces/IDhApiCancelableEvent.java +++ b/api/src/main/java/com/seibel/distanthorizons/api/methods/events/interfaces/IDhApiCancelableEvent.java @@ -21,8 +21,9 @@ public interface IDhApiCancelableEvent extends IDhApiEvent * The {@link IDhApiCancelableEvent#fireEvent(DhApiCancelableEventParam)} method should be used instead. * This override method is present to prevent API users from having to implement it themselves. * - * @implNote Is there a better way to format the {@link IDhApiEvent} classes so we don't need this method? - * It would be better to completely hide this method so it isn't possible to accidentally call. + * @deprecated marked as deprecated to warn that this method shouldn't be used.
+ * DH Internal Note: Is there a better way to format the {@link IDhApiEvent} classes so we don't need this method? + * It would be better to completely hide this method so it isn't possible to accidentally call. */ @Deprecated @Override diff --git a/api/src/main/java/com/seibel/distanthorizons/api/objects/config/DhApiConfigValue.java b/api/src/main/java/com/seibel/distanthorizons/api/objects/config/DhApiConfigValue.java index 669f2be2b..3974d00fc 100644 --- a/api/src/main/java/com/seibel/distanthorizons/api/objects/config/DhApiConfigValue.java +++ b/api/src/main/java/com/seibel/distanthorizons/api/objects/config/DhApiConfigValue.java @@ -10,7 +10,7 @@ import com.seibel.distanthorizons.coreapi.util.converters.DefaultConverter; * * When using this object you need to explicitly define the generic types, * otherwise Intellij won't do any type checking and the wrong types can be used.
- * For example a method returning IDhApiConfig when the config should be a Boolean. + * For example a method returning {@literal IDhApiConfig } when the config should be a Boolean. * * @param The datatype you, an API dev will use. * @param The datatype Distant Horizons uses in the background; implementing developers can ignore this. diff --git a/api/src/main/java/com/seibel/distanthorizons/coreapi/interfaces/dependencyInjection/IDependencyInjector.java b/api/src/main/java/com/seibel/distanthorizons/coreapi/interfaces/dependencyInjection/IDependencyInjector.java index ef3b1e4bd..ee543fe8e 100644 --- a/api/src/main/java/com/seibel/distanthorizons/coreapi/interfaces/dependencyInjection/IDependencyInjector.java +++ b/api/src/main/java/com/seibel/distanthorizons/coreapi/interfaces/dependencyInjection/IDependencyInjector.java @@ -50,7 +50,7 @@ public interface IDependencyInjector * Returns a dependency of type T if one has been bound.
* Returns null if a dependency hasn't been bound.

* - * If the handler's {@link #allowDuplicateBindings} is true this returns the first bound dependency. + * If the handler allows duplicate bindings, this will return the first bound dependency. * * @param class of the dependency * (inferred from the interfaceClass parameter) diff --git a/api/src/main/java/com/seibel/distanthorizons/coreapi/util/BitShiftUtil.java b/api/src/main/java/com/seibel/distanthorizons/coreapi/util/BitShiftUtil.java index 76d579502..335c02d36 100644 --- a/api/src/main/java/com/seibel/distanthorizons/coreapi/util/BitShiftUtil.java +++ b/api/src/main/java/com/seibel/distanthorizons/coreapi/util/BitShiftUtil.java @@ -11,14 +11,14 @@ public class BitShiftUtil { /** * Equivalent to:
- * 1 << value,
+ * {@literal 1 << value0, }
* 2^value,
* Math.pow(2, value)

* * Note: Math.pow() isn't identical for large values where bits would be lost in the shift, however for medium to small values they function the same.

* * Can also be used to replace bit shifts in the format:
- * multiplier << value;
+ * {@literal multiplier << value; }
* multiplier * powerOfTwo(value); */ public static int powerOfTwo(int value) { return 1 << value; } @@ -52,7 +52,7 @@ public class BitShiftUtil /** * Equivalent to:
- * value << 1,
+ * {@literal value << 1, }
* value^2,
* Math.pow(value, 2)

* @@ -65,7 +65,7 @@ public class BitShiftUtil /** * Equivalent to:
- * value << power,
+ * {@literal value << power, }
* value^power,
* Math.pow(value, power)

*