Class NPCAttackCommand.SetAttackCommand
java.lang.Object
com.hypixel.hytale.server.core.command.system.AbstractCommand
com.hypixel.hytale.server.core.command.system.basecommands.AbstractAsyncCommand
com.hypixel.hytale.server.core.command.system.basecommands.AbstractWorldCommand
com.hypixel.hytale.server.npc.commands.NPCWorldCommandBase
com.hypixel.hytale.server.npc.commands.NPCAttackCommand.SetAttackCommand
- Enclosing class:
NPCAttackCommand
-
Field Summary
FieldsFields inherited from class com.hypixel.hytale.server.npc.commands.NPCWorldCommandBase
entityArg, MESSAGE_COMMANDS_ERRORS_NO_ENTITY_IN_VIEW, MESSAGE_COMMANDS_ERRORS_PLAYER_OR_ARGFields inherited from class com.hypixel.hytale.server.core.command.system.AbstractCommand
EMPTY_STRING_ARRAY, LOGGER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(CommandContext context, NPCEntity npc, World world, Store<EntityStore> store, Ref<EntityStore> ref) Methods inherited from class com.hypixel.hytale.server.npc.commands.NPCWorldCommandBase
ensureIsNPC, executeMethods inherited from class com.hypixel.hytale.server.core.command.system.basecommands.AbstractWorldCommand
executeAsyncMethods inherited from class com.hypixel.hytale.server.core.command.system.basecommands.AbstractAsyncCommand
execute, runAsyncMethods inherited from class com.hypixel.hytale.server.core.command.system.AbstractCommand
acceptCall, addAliases, addSubCommand, addUsageVariant, canGeneratePermission, completeRegistration, countParents, generatePermissionNode, getAliases, getDescription, getFullyQualifiedName, getName, getOwner, getPermission, getPermissionGroups, getPermissionGroupsRecursive, getRequiredArguments, getSubCommands, getUsageShort, getUsageString, hasBeenRegistered, hasPermission, isVariant, matches, putRecursivePermissionGroups, requirePermission, setAllowsExtraArguments, setOwner, setPermissionGroup, setPermissionGroups, setUnavailableInSingleplayer, withDefaultArg, withDefaultArg, withFlagArg, withListDefaultArg, withListOptionalArg, withListRequiredArg, withOptionalArg, withOptionalArg, withRequiredArg, withRequiredArg
-
Field Details
-
attackArg
-
-
Constructor Details
-
SetAttackCommand
public SetAttackCommand()
-
-
Method Details
-
execute
protected void execute(@Nonnull CommandContext context, @Nonnull NPCEntity npc, @Nonnull World world, @Nonnull Store<EntityStore> store, @Nonnull Ref<EntityStore> ref) - Specified by:
executein classNPCWorldCommandBase
-