Class AbstractTargetEntityCommand
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.AbstractTargetEntityCommand
- Direct Known Subclasses:
EntityEffectCommand,EntityHideFromAdventurePlayersCommand,EntityIntangibleCommand,EntityInvulnerableCommand,EntityMakeInteractableCommand,EntityStatsAddCommand,EntityStatsDumpCommand,EntityStatsGetCommand,EntityStatsResetCommand,EntityStatsSetCommand,EntityStatsSetToMaxCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final EntityWrappedArgprivate static final Messageprivate static final Messageprivate final OptionalArg<PlayerRef> private final OptionalArg<Double> private final OptionalArg<World> Fields inherited from class com.hypixel.hytale.server.core.command.system.AbstractCommand
EMPTY_STRING_ARRAY, LOGGER -
Constructor Summary
ConstructorsConstructorDescriptionAbstractTargetEntityCommand(String description) AbstractTargetEntityCommand(String name, String description) AbstractTargetEntityCommand(String name, String description, boolean requiresConfirmation) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidexecute(CommandContext var1, it.unimi.dsi.fastutil.objects.ObjectList<Ref<EntityStore>> var2, World var3, Store<EntityStore> var4) protected final CompletableFuture<Void> executeAsync(CommandContext context) Methods 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
-
MESSAGE_COMMANDS_ERRORS_PLAYER_NOT_IN_WORLD
-
MESSAGE_GENERAL_NO_ENTITY_IN_VIEW
-
worldArg
-
radiusArg
-
playerArg
-
entityArg
-
-
Constructor Details
-
AbstractTargetEntityCommand
-
AbstractTargetEntityCommand
-
AbstractTargetEntityCommand
-
-
Method Details
-
executeAsync
- Specified by:
executeAsyncin classAbstractAsyncCommand
-
execute
protected abstract void execute(@Nonnull CommandContext var1, @Nonnull it.unimi.dsi.fastutil.objects.ObjectList<Ref<EntityStore>> var2, @Nonnull World var3, @Nonnull Store<EntityStore> var4)
-