diff --git a/api/src/main/java/com/seibel/distanthorizons/api/interfaces/world/IDhApiLevelWrapper.java b/api/src/main/java/com/seibel/distanthorizons/api/interfaces/world/IDhApiLevelWrapper.java index 4513b6a82..45bfdb4cb 100644 --- a/api/src/main/java/com/seibel/distanthorizons/api/interfaces/world/IDhApiLevelWrapper.java +++ b/api/src/main/java/com/seibel/distanthorizons/api/interfaces/world/IDhApiLevelWrapper.java @@ -41,7 +41,18 @@ public interface IDhApiLevelWrapper extends IDhApiUnsafeWrapper boolean hasSkyLight(); - /** Returns the max block height of the level(?) */ + /** + * Deprecated, use {@link IDhApiLevelWrapper#getMaxHeight} instead.
+ * Returns the max block height of the level. + * + * @see IDhApiLevelWrapper#getMaxHeight + */ + @Deprecated + default int getHeight() { return this.getMaxHeight(); } + /** + * Returns the max block height of the level + * @since API 3.0.0 + */ int getMaxHeight(); /**