public abstract class SubExpansion<PARENT extends SectionExpansion> extends java.lang.Object implements EasyExpansion
限定符和类型 | 字段和说明 |
---|---|
protected @NotNull java.util.List<java.lang.String> |
aliases |
protected @NotNull java.lang.String |
identifier |
protected PARENT |
parent |
构造器和说明 |
---|
SubExpansion(PARENT parent,
@NotNull java.lang.String identifier,
java.lang.String... aliases) |
限定符和类型 | 方法和说明 |
---|---|
@NotNull java.util.List<java.lang.String> |
getAliases() |
@NotNull java.lang.String |
getIdentifier() |
abstract java.lang.Object |
handle(@Nullable org.bukkit.OfflinePlayer player,
@NotNull java.lang.String[] args) |
java.util.List<java.lang.String> |
listAvailableParams()
用于提示此子变量的全部可用参数
|
@NotNull protected final PARENT extends SectionExpansion parent
@NotNull protected final @NotNull java.lang.String identifier
@NotNull protected final @NotNull java.util.List<java.lang.String> aliases
public SubExpansion(@NotNull PARENT parent, @NotNull @NotNull java.lang.String identifier, @NotNull java.lang.String... aliases)
public abstract java.lang.Object handle(@Nullable @Nullable org.bukkit.OfflinePlayer player, @NotNull @NotNull java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public java.util.List<java.lang.String> listAvailableParams()
@NotNull public @NotNull java.lang.String getIdentifier()
getIdentifier
在接口中 EasyExpansion
@NotNull public @NotNull java.util.List<java.lang.String> getAliases()
getAliases
在接口中 EasyExpansion
Copyright © 2024. All rights reserved.