Class OffhandCommand
java.lang.Object
org.geysermc.geyser.command.GeyserCommand
org.geysermc.geyser.command.defaults.OffhandCommand
- All Implemented Interfaces:
org.geysermc.geyser.api.command.Command
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.geysermc.geyser.api.command.Command
org.geysermc.geyser.api.command.Command.Builder<T extends org.geysermc.geyser.api.command.CommandSource> -
Field Summary
Fields inherited from class org.geysermc.geyser.command.GeyserCommand
aliases, DEFAULT_ROOT_COMMAND -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(org.incendo.cloud.context.CommandContext<GeyserCommandSource> context) Executes this commandMethods inherited from class org.geysermc.geyser.command.GeyserCommand
aliases, baseBuilder, commandPermission, description, isBedrockOnly, isPlayerOnly, meta, name, permission, permissionDefault, register, rootCommandMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.geysermc.geyser.api.command.Command
isExecutableOnConsole, isSuggestedOpOnly, subCommands
-
Constructor Details
-
OffhandCommand
-
-
Method Details
-
execute
Description copied from class:GeyserCommandExecutes this command- Specified by:
executein classGeyserCommand- Parameters:
context- the context with which this command should be executed
-