public class NPCAttackCommand extends AbstractCommandCollection
Command for npcattac operations. Registered with the command system and callable by players.
java.lang.Object > AbstractCommandCollection > NPCAttackCommand
Field Summary
sequences
final
List
sequences
Field sequences.
combatSupport
final
CombatSupport
combatSupport
Field combatSupport.
Method Detail
NPCAttackCommand
public
public
NPCAttackCommand
()
Method NPCAttackCommand.
SetAttackCommand
public
new
SetAttackCommand
()
Method SetAttackCommand.
ClearAttackCommand
public
new
ClearAttackCommand
()
Method ClearAttackCommand.
execute
protected
void
execute
(@Nonnull final CommandContext context, @Nonnull final NPCEntity npc, @Nonnull final World world, @Nonnull final Store store, @Nonnull final Ref ref)
Method execute.
- Parameters:
@Nonnull final CommandContextcontext@Nonnull final NPCEntitynpc@Nonnull final Worldworld@Nonnull final Storestore@Nonnull final Refref