Skip to content

NPCAttackCommand

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

public class NPCAttackCommand extends AbstractCommandCollection

Implements /npc attack. A command collection with two sub-commands for overriding and clearing an NPC’s attack interaction sequence via its CombatSupport.

public NPCAttackCommand()

Registers as sub-command "attack" with translation key "server.commands.npc.attack.desc". Adds SetAttackCommand and ClearAttackCommand as sub-commands.

Sub-commandClass
(default)NPCAttackCommand.SetAttackCommand
clearNPCAttackCommand.ClearAttackCommand
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.