NPCCleanCommand
Package: com.hypixel.hytale.server.npc.commands
public class NPCCleanCommand extends AbstractWorldCommandImplements /npc clean. Removes all NPC entities from the current world by iterating over all entities with the NPCEntity component type in parallel and issuing removeEntity commands with RemoveReason.REMOVE.
Requires confirmation (requiresConfirmation = true).
Constructor
Section titled “Constructor”public NPCCleanCommand()Registers as sub-command "clean" with translation key "server.commands.npc.clean.desc".
Related Types
Section titled “Related Types”- NPCCommand — parent command collection
- NPCAllCommand — spawns all NPC roles (inverse operation)
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.