setPowers

public abstract List<EliteLuaPowerProgram> setPowers(Plugin owner, EliteEntity eliteEntity, List<NamespacedKey> orderedPowerKeys)

Replaces the actor's complete power collection with fresh runtimes in the supplied order. Every key must belong to owner; duplicate keys are rejected. Attachment order is retained and breaks ties, while event dispatch first sorts by each program's ascending executionPriority.