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 TypeMethodDescriptiongetName()Get the name of the worldGet the platform world represented by this worldstatic <T> World.NullWorld<T>Get aWorld.NullWorldimplementation
-
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
-