Skip to content

NPCAttackCommand.SetAttackCommand

Package: com.hypixel.hytale.server.npc.commands

public static class NPCAttackCommand.SetAttackCommand extends NPCWorldCommandBase

Inner class of NPCAttackCommand. Sets attack override interactions on the target NPC’s CombatSupport. Clears existing overrides before adding the new interaction IDs.

ArgumentTypeRequiredDescription
attackList<Interaction>noList of interaction assets to set as attack overrides
public SetAttackCommand()

Registers with empty name (default sub-command) and translation key "server.commands.npc.attack.desc".

Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.