Package com.plotsquared.core.location
Interface World<T>
- Type Parameters:
T
- Platform world type
- All Known Implementing Classes:
World.NullWorld
public interface World<T>
PlotSquared representation of a platform world
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionint
Get the max world height.int
Get the min world height.getName()
Get the name of the worldGet the platform world represented by this worldstatic <T> World.NullWorld<T>
Get aWorld.NullWorld
implementation
-
Method Details
-
nullWorld
Get aWorld.NullWorld
implementation- Type Parameters:
T
- implementation-specific world object type e.g. a bukkit World- Returns:
- NullWorld instance
-
getPlatformWorld
Get the platform world represented by this world- Returns:
- Platform world
-
getName
Get the name of the world- Returns:
- World name
-
getMinHeight
int getMinHeight()Get the min world height. Inclusive.- Since:
- 6.6.0
-
getMaxHeight
int getMaxHeight()Get the max world height. Inclusive.- Since:
- 6.6.0
-