public class GenericCommandHelpTopic extends HelpTopic
限定符和类型 | 字段和说明 |
---|---|
protected Command |
command |
amendedPermission, fullText, name, shortText
构造器和说明 |
---|
GenericCommandHelpTopic(Command command) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
canSee(CommandSender sender)
Determines if a
Player is allowed to see this help topic. |
amendCanSee, amendTopic, applyAmendment, getFullText, getName, getShortText
protected Command command
public GenericCommandHelpTopic(Command command)
public boolean canSee(CommandSender sender)
HelpTopic
Player
is allowed to see this help topic.
HelpTopic implementations should take server administrator wishes into
account as set by the HelpTopic.amendCanSee(String)
function.