Contents
Package com.hypixel.hytale.server.spawning.local
package com.hypixel.hytale.server.spawning.local
-
ClassesClassDescriptionA component used to signify that the spawn beacon entity it is attached to was created by the
LocalSpawnControllerSystemand should be processed by theLocalSpawnBeaconSystem.Handles force re-triggering theLocalSpawnControllerSystemwhen aLocalSpawnBeaconis removed from the world.A component which handles data for theLocalSpawnControllerSystemand is attached to eachPlayerto keep track of when the system should next process and attempt to generate new local NPC spawns.Once per tick, handles gathering allPlayers withLocalSpawnControllers and checking which ones are able to run.Checks to see if theLocalSpawnStateresource is requesting a force re-trigger of theLocalSpawnControllerSystemand if so, randomises the remaining until eachLocalSpawnControllerruns within a small range.Ensures that theLocalSpawnStateresource is added on world start and that everyPlayerhas aLocalSpawnController.A shared resource containing state information and spare lists for use by theLocalSpawnControllerSystemandLocalSpawnForceTriggerSystem.