SpawningPlugin
Package: com.hypixel.hytale.server.spawning
public class SpawningPlugin extends JavaPluginCentral plugin managing all NPC spawning: world-based environment spawning, beacon-based proximity spawning, and spawn marker placement. Registers all ECS components, systems, asset stores, and commands for the spawning subsystem.
Registration Summary
Section titled “Registration Summary”Registers two entity types (LegacySpawnBeacon, SpawnBeacon), four asset stores (SpawnMarker, WorldNPCSpawn, BeaconNPCSpawn, SpawnSuppression), one block state (SpawnMarkerBlock), one NPC core component type (TriggerSpawnBeacon), and one interaction (TriggerSpawnMarkers).
ECS Components (EntityStore)
Section titled “ECS Components (EntityStore)”SpawnMarkerEntity, LocalSpawnController, LocalSpawnBeacon, SpawnSuppressionComponent, InitialBeaconDelay, SpawnMarkerReference, SpawnBeaconReference, FloodFillPositionSelector, SpawnMarkerBlockReference
ECS Resources (EntityStore)
Section titled “ECS Resources (EntityStore)”WorldSpawnData, SpawnSuppressionController, LocalSpawnState, FloodFillEntryPoolProviderSimple, three SpatialResource instances (legacy beacon, spawn marker, manual spawn beacon)
ECS Components (ChunkStore)
Section titled “ECS Components (ChunkStore)”SpawnJobData, ChunkSpawnData, ChunkSpawnedNPCData, ChunkSuppressionEntry
ECS Resources (ChunkStore)
Section titled “ECS Resources (ChunkStore)”ChunkSuppressionQueue
Configuration
Section titled “Configuration”| Field | Type | Default | Description |
|---|---|---|---|
SpawnBudgetFactor | double | 1.0 | Multiplier for the per-tick column budget (base 20480) |
MaxActiveJobs | int | 20 | Maximum concurrent spawn jobs allowed |
DefaultSpawnMarkerModel | String | "NPC_Spawn_Marker" | Model ID for spawn marker entities in creative mode |
LocalSpawnControllerJoinDelay | double | 15.0 | Seconds before local spawn controller begins spawning for a player |
Commands
Section titled “Commands”Registers the spawn command with subcommands: beacons, markers, populate, stats, suppression.