java.lang.Object
com.winterhavenmc.library.messagebuilder.adapters.pipeline.resolvers.spawnlocation.DefaultResolver
All Implemented Interfaces:
BukkitSpawnLocationResolver, SpawnLocationResolver

public final class DefaultResolver extends Object implements BukkitSpawnLocationResolver
  • Constructor Details

    • DefaultResolver

      public DefaultResolver()
  • Method Details

    • resolve

      public org.bukkit.Location resolve(org.bukkit.World world)
      Returns the default Bukkit world name by calling WorldInfo.getName().
      Specified by:
      resolve in interface BukkitSpawnLocationResolver
      Specified by:
      resolve in interface SpawnLocationResolver
      Parameters:
      world - the World to resolve a name for
      Returns:
      the world's raw name as defined by Bukkit