Uses of Class
com.hypixel.hytale.server.core.command.system.CommandContext
Packages that use CommandContext
Package
Description
-
Uses of CommandContext in com.hypixel.hytale.builtin.buildertools
Methods in com.hypixel.hytale.builtin.buildertools with parameters of type CommandContextModifier and TypeMethodDescriptionstatic AssetPackBuilderToolsPlugin.resolveTargetPack(String explicitPackName, Player playerComponent, CommandContext context) static AssetPackBuilderToolsPlugin.resolveTargetPack(String explicitPackName, Path prefabPath, Player playerComponent, CommandContext context) -
Uses of CommandContext in com.hypixel.hytale.builtin.instances.command
Methods in com.hypixel.hytale.builtin.instances.command with parameters of type CommandContextModifier and TypeMethodDescriptionInstanceEditListCommand.executeAsync(CommandContext context) InstanceEditLoadCommand.executeAsync(CommandContext context) InstanceEditNewCommand.executeAsync(CommandContext context) -
Uses of CommandContext in com.hypixel.hytale.server.core.command.commands.world.entity.stats
Methods in com.hypixel.hytale.server.core.command.commands.world.entity.stats with parameters of type CommandContextModifier and TypeMethodDescriptionstatic voidEntityStatsAddCommand.addEntityStat(CommandContext context, List<Ref<EntityStore>> entityRefs, int statAmount, String entityStatName, Store<EntityStore> store) Adds a specific amount to an entity stat for a list of entities.static voidEntityStatsDumpCommand.dumpEntityStatsData(CommandContext context, List<Ref<EntityStore>> entities, Store<EntityStore> store) Dumps all entity stats data for a list of entities.static voidEntityStatsGetCommand.getEntityStat(CommandContext context, List<Ref<EntityStore>> entities, String entityStat, Store<EntityStore> store) Gets the value of a specific entity stat for a list of entities.static voidEntityStatsResetCommand.resetEntityStat(CommandContext context, List<Ref<EntityStore>> entities, String entityStat, Store<EntityStore> store) Resets a specific entity stat to its initial value for a list of entities.static voidEntityStatsSetCommand.setEntityStat(CommandContext context, List<Ref<EntityStore>> entities, int newStatValue, String entityStatName, Store<EntityStore> store) Sets the value of a specific entity stat for a list of entities.static voidEntityStatsSetToMaxCommand.setEntityStatMax(CommandContext context, List<Ref<EntityStore>> entities, String entityStatName, Store<EntityStore> store) Sets a specific entity stat to its maximum value for a list of entities. -
Uses of CommandContext in com.hypixel.hytale.server.core.command.system.arguments.system
Methods in com.hypixel.hytale.server.core.command.system.arguments.system with parameters of type CommandContextModifier and TypeMethodDescriptionArgument.get(CommandContext context) Get the result of parsing this argument.Argument.getProcessed(CommandContext context) Allow certain ArgumentTypes to have a more involved post-parsing get method.booleanArgument.provided(CommandContext context) Check if this argument has been provided on the specifiedCommandContextbooleanWrappedArg.provided(CommandContext context) Determines whether this argument was provided in the command context.booleanAbstractOptionalArg.verifyArgumentDependencies(CommandContext context, ParseResult parseResult) Verify that the argument's dependencies are met, and if they are not, send a message saying so. -
Uses of CommandContext in com.hypixel.hytale.server.core.command.system.arguments.types
Methods in com.hypixel.hytale.server.core.command.system.arguments.types with parameters of type CommandContextModifier and TypeMethodDescriptionEntityWrappedArg.get(ComponentAccessor<EntityStore> componentAccessor, CommandContext context) Retrieve the Ref representing the entity where we attempt to resolve the argument that this wraps.org.joml.Vector3iRelativeIntPosition.getBlockPosition(CommandContext context, ComponentAccessor<EntityStore> componentAccessor) Called to get the block position represented by this relative position, based on a command sender's position.org.joml.Vector2iRelativeChunkPosition.getChunkPosition(CommandContext context, ComponentAccessor<EntityStore> componentAccessor) Gets the chunk position based on the command sender's position.EntityWrappedArg.getEntityDirectly(CommandContext context, World world) Retrieve the Ref representing the entity where we attempt to resolve the argument that this wraps.org.joml.Vector3dRelativeDoublePosition.getRelativePosition(CommandContext context, World world, ComponentAccessor<EntityStore> componentAccessor) Fetches the position relative to the command sender's position if relative coordinates are used.ArgumentType.processedGet(CommandSender sender, CommandContext context, Argument<?, DataType> argument) Allow certain ArgumentTypes to have a more involved post-parsing get method. -
Uses of CommandContext in com.hypixel.hytale.server.core.command.system.basecommands
Methods in com.hypixel.hytale.server.core.command.system.basecommands with parameters of type CommandContextModifier and TypeMethodDescriptionAbstractAsyncCommand.runAsync(CommandContext context, Runnable runnable, Executor executor) A method for simplifying the syntax of running certain async tasks. -
Uses of CommandContext in com.hypixel.hytale.server.core.modules.time.commands
Methods in com.hypixel.hytale.server.core.modules.time.commands with parameters of type CommandContextModifier and TypeMethodDescriptionvoidTimeCommand.execute(CommandContext context, World world, Store<EntityStore> store) -
Uses of CommandContext in com.hypixel.hytale.server.core.update.command
Methods in com.hypixel.hytale.server.core.update.command with parameters of type CommandContextModifier and TypeMethodDescriptionstatic CompletableFuture<Void> UpdateDownloadCommand.runBootstrapInstall(CommandContext context) Runs the first-run bootstrap install: authenticates, fetches the current patchline manifest, downloads and extracts the payload into the cwd, then shuts the server down so the freshly-written launcher scripts can take over. -
Uses of CommandContext in com.hypixel.hytale.server.npc.commands
Methods in com.hypixel.hytale.server.npc.commands with parameters of type CommandContextModifier and TypeMethodDescriptionstatic it.unimi.dsi.fastutil.Pair<Ref<EntityStore>, NPCEntity> NPCCommandUtils.getTargetNpc(CommandContext context, EntityWrappedArg arg, Store<EntityStore> store) Gets the NPC entity based on the command context.