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 Summary
FieldsModifier and TypeFieldDescriptionstatic BuilderCodec<IndividualSpawnProvider> private Transform[] -
Constructor Summary
ConstructorsConstructorDescriptionIndividualSpawnProvider(Transform spawnPoint) IndividualSpawnProvider(Transform[] spawnPoints) -
Method Summary
Modifier and TypeMethodDescriptiongetSpawnPoint(World world, UUID uuid) booleanisWithinSpawnDistance(Vector3d position, double distance) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hypixel.hytale.server.core.universe.world.spawn.ISpawnProvider
getSpawnPoint, getSpawnPoint
-
Field Details
-
CODEC
-
spawnPoints
-
-
Constructor Details
-
IndividualSpawnProvider
public IndividualSpawnProvider() -
IndividualSpawnProvider
-
IndividualSpawnProvider
-
-
Method Details
-
getSpawnPoint
- Specified by:
getSpawnPointin interfacecom.hypixel.hytale.server.core.universe.world.spawn.ISpawnProvider
-
getSpawnPoints
- Specified by:
getSpawnPointsin interfacecom.hypixel.hytale.server.core.universe.world.spawn.ISpawnProvider
-
getFirstSpawnPoint
-
isWithinSpawnDistance
- Specified by:
isWithinSpawnDistancein interfacecom.hypixel.hytale.server.core.universe.world.spawn.ISpawnProvider
-