Description
What Works So Far
- Trork Spawning — NPCs spawn via NPCPlugin.spawnNPC() using custom NPC role JSONs (appearance, health, speed)
- Trork Movement — Trorks follow a predefined waypoint path, moved each tick via transform.teleportPosition()
- Wave System — Waves of Trorks spawn on intervals using HytaleServer.SCHEDULED_EXECUTOR, configurable count/delay
- Lives & Damage — Trorks reaching the end of the path subtract lives from the player
- Game Start/Stop — /ktd start and /ktd stop commands control game state
- Player Cleanup — Entities are cleaned up when a player leaves mid-game
- Commands — /ktd start, /ktd stop, /ktd wave, /ktd status, /ktd tower
- Entity Tracking — Java-side EntityTracker manages all spawned Trorks/Kweebecs via UUID maps (not ECS)
- Entity Removal — Reflection-based EntityHelper accesses internal command buffers to despawn entities
- Kweebecs that kill the trorks on the path


