Package com.plotsquared.core.location
Interface World<T>
- Type Parameters:
T- Platform world type
- All Superinterfaces:
net.kyori.adventure.key.Keyed
- All Known Implementing Classes:
World.NullWorld
PlotSquared representation of a platform world
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionintGet the max world height.intGet the min world height.getName()Get the name of the worldGet the platform world represented by this worldGet the path to this worlds' folder (for legacy versions the folder containing thelevel.datfile, for newer versions the namespaced dimension folder).static <T> World.NullWorld<T> Get aWorld.NullWorldimplementationMethods inherited from interface net.kyori.adventure.key.Keyed
key
-
Method Details
-
nullWorld
Get aWorld.NullWorldimplementation- 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
-
getWorldFolder
Get the path to this worlds' folder (for legacy versions the folder containing thelevel.datfile, for newer versions the namespaced dimension folder).- Returns:
- the path
- Since:
- 7.6.0
-