Class StashCommand
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.AbstractPlayerCommand
com.hypixel.hytale.server.core.command.commands.utility.StashCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final Messageprivate static final Messageprivate static final Messageprivate static final Messageprivate final OptionalArg<String> Fields 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, Store<EntityStore> store, Ref<EntityStore> ref, PlayerRef playerRef, World world) private ItemContainerStategetItemContainerState(Ref<EntityStore> ref, World world, CommandContext context, ComponentAccessor<EntityStore> componentAccessor) Methods inherited from class com.hypixel.hytale.server.core.command.system.basecommands.AbstractPlayerCommand
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
-
MESSAGE_COMMANDS_ERRORS_CHUNK_NOT_LOADED
-
MESSAGE_COMMANDS_STASH_DROP_LIST_SET
-
MESSAGE_COMMANDS_STASH_NO_DROP_LIST
-
MESSAGE_GENERAL_BLOCK_TARGET_NOT_IN_RANGE
-
DISTANCE_MAX
private static final int DISTANCE_MAX- See Also:
-
setArg
-
-
Constructor Details
-
StashCommand
public StashCommand()
-
-
Method Details
-
execute
protected void execute(@Nonnull CommandContext context, @Nonnull Store<EntityStore> store, @Nonnull Ref<EntityStore> ref, @Nonnull PlayerRef playerRef, @Nonnull World world) - Specified by:
executein classAbstractPlayerCommand
-
getItemContainerState
@Nullable private ItemContainerState getItemContainerState(@Nonnull Ref<EntityStore> ref, @Nonnull World world, @Nonnull CommandContext context, @Nonnull ComponentAccessor<EntityStore> componentAccessor)
-