类 TabBuilder
java.lang.Object
cn.afternode.commons.bukkit.message.TabBuilder
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Check prefix and add to this builderbuild()Convert this builder to Listorg.bukkit.command.CommandSenderpermission(String permission, String... items) Check sender permission and add items to this sender
A Bukkit CommandSender must be passed to this builderpermission(String permission, String prefix, String... items) Check sender permission, then check items prefix and add to this sender
A Bukkit CommandSender must be passed to this builderpermission(org.bukkit.permissions.Permission permission, String... items) Check sender permission and add items to this sender
A Bukkit CommandSender must be passed to this builderpermission(org.bukkit.permissions.Permission permission, String prefix, String... items) Check sender permission, then check items prefix and add to this sender
A Bukkit CommandSender must be passed to this builderCheck player name prefix and add to this builderFilter players and add to this buildersender(org.bukkit.command.CommandSender sender) Check world name prefix and add to this builderFilter worlds and add to this builder
-
构造器详细资料
-
TabBuilder
public TabBuilder(org.bukkit.command.CommandSender sender) -
TabBuilder
public TabBuilder()
-
-
方法详细资料
-
getSender
public org.bukkit.command.CommandSender getSender() -
sender
-
add
Check prefix and add to this builder- 参数:
prefix- Prefix to checkitems- Items to add- 返回:
- This builder
-
players
Check player name prefix and add to this builder- 参数:
prefix- Prefix to check- 返回:
- This builder
-
players
Filter players and add to this builder- 参数:
filter- Player filter- 返回:
- This builder
-
worlds
Check world name prefix and add to this builder- 参数:
prefix- Prefix to check- 返回:
- This builder
-
worlds
Filter worlds and add to this builder- 参数:
filter- World filter- 返回:
- This builder
-
permission
Check sender permission, then check items prefix and add to this sender
A Bukkit CommandSender must be passed to this builder- 参数:
permission- Permission to checkprefix- Prefix to checkitems- Items to add- 返回:
- This builder
-
permission
Check sender permission and add items to this sender
A Bukkit CommandSender must be passed to this builder- 参数:
permission- Permission to checkitems- Items to add- 返回:
- This builder
-
permission
public TabBuilder permission(org.bukkit.permissions.Permission permission, String prefix, String... items) Check sender permission, then check items prefix and add to this sender
A Bukkit CommandSender must be passed to this builder- 参数:
permission- Permission to checkprefix- Prefix to checkitems- Items to add- 返回:
- This builder
-
permission
Check sender permission and add items to this sender
A Bukkit CommandSender must be passed to this builder- 参数:
permission- Permission to checkitems- Items to add- 返回:
- This builder
-
build
Convert this builder to List- 返回:
- List
-