NPCAttackCommand
Package: com.hypixel.hytale.server.npc.commands
public class NPCAttackCommand extends AbstractCommandCollectionImplements /npc attack. A command collection with two sub-commands for overriding and clearing an NPC’s attack interaction sequence via its CombatSupport.
Constructor
Section titled “Constructor”public NPCAttackCommand()Registers as sub-command "attack" with translation key "server.commands.npc.attack.desc". Adds SetAttackCommand and ClearAttackCommand as sub-commands.
Sub-commands
Section titled “Sub-commands”| Sub-command | Class |
|---|---|
| (default) | NPCAttackCommand.SetAttackCommand |
clear | NPCAttackCommand.ClearAttackCommand |
Related Types
Section titled “Related Types”- NPCAttackCommand.SetAttackCommand — sets attack override interactions
- NPCAttackCommand.ClearAttackCommand — clears attack overrides
- NPCCommand — parent command collection
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.