Class NPCPathCommand.SetPathCommand
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.NPCPathCommand.SetPathCommand
- Enclosing class:
NPCPathCommand
-
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) private ArrayDeque<RelativeWaypointDefinition> parseInstructions(CommandContext context, String str) 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
-
instructionsArg
-
-
Constructor Details
-
SetPathCommand
public SetPathCommand()
-
-
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
-
parseInstructions
@Nullable private ArrayDeque<RelativeWaypointDefinition> parseInstructions(@Nonnull CommandContext context, @Nonnull String str)
-