Class IndividualSpawnProvider

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

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

  • Constructor Details

    • IndividualSpawnProvider

      public IndividualSpawnProvider()
    • IndividualSpawnProvider

      public IndividualSpawnProvider(Transform spawnPoint)
    • IndividualSpawnProvider

      public IndividualSpawnProvider(Transform[] spawnPoints)
  • 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

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

      @Nullable public Transform getFirstSpawnPoint()
    • isWithinSpawnDistance

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