Class DefaultResolver
java.lang.Object
com.winterhavenmc.library.messagebuilder.adapters.pipeline.resolvers.spawnlocation.DefaultResolver
- All Implemented Interfaces:
BukkitSpawnLocationResolver,SpawnLocationResolver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.Locationresolve(org.bukkit.World world) Returns the default Bukkit world name by callingWorldInfo.getName().
-
Constructor Details
-
DefaultResolver
public DefaultResolver()
-
-
Method Details
-
resolve
public org.bukkit.Location resolve(org.bukkit.World world) Returns the default Bukkit world name by callingWorldInfo.getName().- Specified by:
resolvein interfaceBukkitSpawnLocationResolver- Specified by:
resolvein interfaceSpawnLocationResolver- Parameters:
world- theWorldto resolve a name for- Returns:
- the world's raw name as defined by Bukkit
-