Class GlobalSpawnProvider

java.lang.Object
com.hypixel.hytale.server.core.universe.world.spawn.GlobalSpawnProvider
All Implemented Interfaces:
com.hypixel.hytale.server.core.universe.world.spawn.ISpawnProvider

public class GlobalSpawnProvider extends Object implements com.hypixel.hytale.server.core.universe.world.spawn.ISpawnProvider
  • Field Details

  • Constructor Details

    • GlobalSpawnProvider

      public GlobalSpawnProvider()
    • GlobalSpawnProvider

      public GlobalSpawnProvider(Transform spawnPoint)
  • Method Details

    • getSpawnPoint

      public Transform getSpawnPoint(@Nonnull World world, @Nonnull UUID uuid)
      Specified by:
      getSpawnPoint in interface com.hypixel.hytale.server.core.universe.world.spawn.ISpawnProvider
    • getSpawnPoints

      @Nonnull public Transform[] getSpawnPoints()
      Specified by:
      getSpawnPoints in interface com.hypixel.hytale.server.core.universe.world.spawn.ISpawnProvider
    • isWithinSpawnDistance

      public boolean isWithinSpawnDistance(@Nonnull Vector3d position, double distance)
      Specified by:
      isWithinSpawnDistance in interface com.hypixel.hytale.server.core.universe.world.spawn.ISpawnProvider