public static class CommandFunction.FunctionLine extends Object
Constructor and Description |
---|
FunctionLine(boolean comment,
String content) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
void |
execute(org.bukkit.command.CommandSender sender)
Executes the command on this line.
|
String |
getContent() |
int |
hashCode() |
boolean |
isComment() |
static CommandFunction.FunctionLine |
read(String line)
Converts a line of code to a FunctionLine.
|
String |
toString() |
public FunctionLine(boolean comment, String content)
public static CommandFunction.FunctionLine read(String line)
line
- a line from a function filepublic void execute(org.bukkit.command.CommandSender sender)
sender
- the function callerpublic boolean isComment()
public String getContent()
protected boolean canEqual(Object other)
Copyright © 2021. All rights reserved.