Package me.lucyy.squirtgun.command.node
Class PluginInfoNode<T extends me.lucyy.squirtgun.platform.audience.PermissionHolder>
- java.lang.Object
-
- me.lucyy.squirtgun.command.node.AbstractNode<T>
-
- me.lucyy.squirtgun.command.node.PluginInfoNode<T>
-
- All Implemented Interfaces:
CommandNode<T>
public class PluginInfoNode<T extends me.lucyy.squirtgun.platform.audience.PermissionHolder> extends AbstractNode<T>
-
-
Constructor Summary
Constructors Constructor Description PluginInfoNode(java.lang.String name, me.lucyy.squirtgun.plugin.SquirtgunPlugin<?> plugin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable net.kyori.adventure.text.Componentexecute(CommandContext<T> context)Execute this node.-
Methods inherited from class me.lucyy.squirtgun.command.node.AbstractNode
getDescription, getName, getPermission
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface me.lucyy.squirtgun.command.node.CommandNode
getArguments, next
-
-
-
-
Method Detail
-
execute
@Nullable public @Nullable net.kyori.adventure.text.Component execute(CommandContext<T> context)
Description copied from interface:CommandNodeExecute this node. This will only be executed if there are no further nodes in the chain.- Parameters:
context- the context that this command was executed in- Returns:
- a component to optionally
-
-