Package com.plotsquared.bukkit.util
Class BukkitWorld
java.lang.Object
com.plotsquared.bukkit.util.BukkitWorld
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.plotsquared.core.location.World
World.NullWorld<T extends Object> -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanDeprecated, for removal: This API element is subject to removal in a future version.This method is not meant to be invoked or overridden, with no replacement.booleanintstatic intgetMaxWorldHeight(World world) Get the max world height from a BukkitWorld.intstatic intgetMinWorldHeight(World world) Get the min world height from a BukkitWorld.getName()inthashCode()static @NonNull BukkitWorldGet a newBukkitWorldfrom a world namestatic @NonNull BukkitWorldGet a newBukkitWorldfrom a Bukkit worldtoString()
-
Method Details
-
of
Get a newBukkitWorldfrom a world name- Parameters:
worldName- World name- Returns:
- World instance
-
of
Get a newBukkitWorldfrom a Bukkit world- Parameters:
world- Bukkit world- Returns:
- World instance
-
getMinWorldHeight
Get the min world height from a BukkitWorld. Inclusive- Since:
- 6.6.0
-
getMaxWorldHeight
Get the max world height from a BukkitWorld. Exclusive- Since:
- 6.6.0
-
getPlatformWorld
- Specified by:
getPlatformWorldin interfaceWorld<World>
-
getName
-
getMinHeight
public int getMinHeight()- Specified by:
getMinHeightin interfaceWorld<World>
-
getMaxHeight
public int getMaxHeight()- Specified by:
getMaxHeightin interfaceWorld<World>
-
equals
-
hashCode
public int hashCode() -
canEqual
Deprecated, for removal: This API element is subject to removal in a future version.This method is not meant to be invoked or overridden, with no replacement. -
toString
-