Revert "remove deprecated getHeight() from DhApiLevelWrapper"
This reverts commit 50bdb73a52.
This commit is contained in:
+9
-1
@@ -30,7 +30,7 @@ import java.io.File;
|
||||
* A level is equivalent to a dimension in vanilla Minecraft.
|
||||
*
|
||||
* @author James Seibel
|
||||
* @version 2025-12-23
|
||||
* @version 2024-7-28
|
||||
* @since API 1.0.0
|
||||
*/
|
||||
public interface IDhApiLevelWrapper extends IDhApiUnsafeWrapper
|
||||
@@ -53,6 +53,14 @@ public interface IDhApiLevelWrapper extends IDhApiUnsafeWrapper
|
||||
|
||||
boolean hasSkyLight();
|
||||
|
||||
/**
|
||||
* Deprecated, use {@link IDhApiLevelWrapper#getMaxHeight} instead. <br>
|
||||
* 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
|
||||
|
||||
Reference in New Issue
Block a user