Class NPCMultiSelectCommandBase
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.NPCMultiSelectCommandBase
- Direct Known Subclasses:
NPCDebugCommand.ClearCommand,NPCDebugCommand.DefaultsCommand,NPCDebugCommand.SetCommand,NPCDebugCommand.ShowCommand,NPCDebugCommand.ToggleCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final floatprotected static final floatprotected final OptionalArg<Float> protected static final floatprotected static final floatprivate final FlagArgprivate final FlagArgprivate final FlagArgprivate final FlagArgprivate final FlagArgprotected static final floatprotected static final floatprotected final OptionalArg<Float> private final OptionalArg<String> Fields 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
ConstructorsConstructorDescriptionNPCMultiSelectCommandBase(String description) NPCMultiSelectCommandBase(String name, String description) NPCMultiSelectCommandBase(String name, String description, boolean requiresConfirmation) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(CommandContext context, World world, Store<EntityStore> store) protected voidprocessEntityList(CommandContext context, World world, Store<EntityStore> store, List<Ref<EntityStore>> refs) 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
-
DEFAULT_CONE_ANGLE
protected static final float DEFAULT_CONE_ANGLE- See Also:
-
DEFAULT_RANGE
protected static final float DEFAULT_RANGE- See Also:
-
RANGE_MIN
protected static final float RANGE_MIN- See Also:
-
RANGE_MAX
protected static final float RANGE_MAX- See Also:
-
CONE_ANGLE_MIN
protected static final float CONE_ANGLE_MIN- See Also:
-
CONE_ANGLE_MAX
protected static final float CONE_ANGLE_MAX- See Also:
-
coneAngleArg
-
rangeArg
-
rolesArg
-
nearestArg
-
presetCone30
-
presetCone30all
-
presetSphere
-
presetRay
-
-
Constructor Details
-
NPCMultiSelectCommandBase
-
NPCMultiSelectCommandBase
-
NPCMultiSelectCommandBase
-
-
Method Details
-
execute
protected void execute(@Nonnull CommandContext context, @Nonnull World world, @Nonnull Store<EntityStore> store) - Overrides:
executein classNPCWorldCommandBase
-
processEntityList
protected void processEntityList(@Nonnull CommandContext context, @Nonnull World world, @Nonnull Store<EntityStore> store, @Nonnull List<Ref<EntityStore>> refs)
-