• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java NestedCommand类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中com.sk89q.minecraft.util.commands.NestedCommand的典型用法代码示例。如果您正苦于以下问题:Java NestedCommand类的具体用法?Java NestedCommand怎么用?Java NestedCommand使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



NestedCommand类属于com.sk89q.minecraft.util.commands包,在下文中一共展示了NestedCommand类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: players

import com.sk89q.minecraft.util.commands.NestedCommand; //导入依赖的package包/类
@Command(
    aliases = {"players", "ffa"},
    desc = "Commands related to free-for-all matches",
    min = 1,
    max = -1
)
@NestedCommand({FreeForAllCommands.class})
public static void players() {
}
 
开发者ID:OvercastNetwork,项目名称:ProjectAres,代码行数:10,代码来源:FreeForAllCommands.java


示例2: team

import com.sk89q.minecraft.util.commands.NestedCommand; //导入依赖的package包/类
@Command(
    aliases = {"team"},
    desc = "Commands for working with teams",
    min = 1,
    max = -1
)
@NestedCommand({TeamCommands.class})
public void team() {}
 
开发者ID:OvercastNetwork,项目名称:ProjectAres,代码行数:9,代码来源:TeamCommands.java


示例3: modes

import com.sk89q.minecraft.util.commands.NestedCommand; //导入依赖的package包/类
@Command(
    aliases = {"mode", "modes"},
    desc = "General mode commands",
    min = 0,
    max = -1
)
@NestedCommand(value = ObjectiveModeCommands.class, executeBody = true)
public void modes(CommandContext args, CommandSender sender) throws CommandException {
    objectiveModeCommands.list(args, sender);
}
 
开发者ID:OvercastNetwork,项目名称:ProjectAres,代码行数:11,代码来源:ObjectiveModeCommands.java


示例4: mutate

import com.sk89q.minecraft.util.commands.NestedCommand; //导入依赖的package包/类
@Command(
        aliases = {"mutation", "mutations", "mutate", "mt"},
        desc = "Commands to manage match mutations.",
        usage = "<list|enable|disable>",
        min = 1,
        max = -1
)
@NestedCommand(value = MutationCommands.class, executeBody = true)
public void mutate(CommandContext args, CommandSender sender) throws CommandException {}
 
开发者ID:OvercastNetwork,项目名称:ProjectAres,代码行数:10,代码来源:MutationCommands.java


示例5: mapSelectionParentCommand

import com.sk89q.minecraft.util.commands.NestedCommand; //导入依赖的package包/类
@Command(
        aliases = {"map", "mapselection"},
        desc = "Map selection-related commands"
)
@NestedCommand(value = MapSelectionCommands.class, executeBody = true)
public void mapSelectionParentCommand(final CommandContext args, final CommandSender sender) throws CommandException {
    if (!Arrays.asList(TourneyState.ENABLED_MAP_SELECTION, TourneyState.ENABLED_WAITING_FOR_READY).contains(tourney.getState())) {
        throw new CommandException("This match is not in a state that is eligible for map selection.");
    }
}
 
开发者ID:OvercastNetwork,项目名称:ProjectAres,代码行数:11,代码来源:MapSelectionCommands.java


示例6: tourneyParentCommand

import com.sk89q.minecraft.util.commands.NestedCommand; //导入依赖的package包/类
@Command(
        aliases = {"tourney", "tournament", "tm"},
        desc = "Tournament-related commands"
)
@NestedCommand({TourneyCommands.class, TeamCommands.class, MapSelectionCommands.MapSelectionParentCommand.class})
public void tourneyParentCommand(final CommandContext args, final CommandSender sender) {
    // never executed
}
 
开发者ID:OvercastNetwork,项目名称:ProjectAres,代码行数:9,代码来源:TourneyCommands.java


示例7: log

import com.sk89q.minecraft.util.commands.NestedCommand; //导入依赖的package包/类
@Command(
    aliases = "log",
    desc = "Commands related to logging",
    min = 1,
    max = -1
)
@NestedCommand(LoggingCommands.class)
@CommandPermissions(Permissions.DEVELOPER)
public void log(CommandContext args, CommandSender sender) throws CommandException {}
 
开发者ID:OvercastNetwork,项目名称:ProjectAres,代码行数:10,代码来源:LoggingCommands.java


示例8: model

import com.sk89q.minecraft.util.commands.NestedCommand; //导入依赖的package包/类
@Command(
    aliases = "model",
    desc = "Commands related to API models",
    min = 1,
    max = -1
)
@NestedCommand(ModelCommands.class)
@CommandPermissions(Permissions.DEVELOPER)
public void model(CommandContext args, CommandSender sender) throws CommandException {}
 
开发者ID:OvercastNetwork,项目名称:ProjectAres,代码行数:10,代码来源:ModelCommands.java


示例9: amqp

import com.sk89q.minecraft.util.commands.NestedCommand; //导入依赖的package包/类
@Command(
    aliases = "amqp",
    desc = "AMQP testing commands",
    min = 1,
    max = -1
)
@CommandPermissions(Permissions.DEVELOPER)
@NestedCommand(QueueCommands.class)
public void amqp(CommandContext args, CommandSender sender) throws CommandException {}
 
开发者ID:OvercastNetwork,项目名称:ProjectAres,代码行数:10,代码来源:QueueCommands.java


示例10: respack

import com.sk89q.minecraft.util.commands.NestedCommand; //导入依赖的package包/类
@Command(
    aliases = {"respack"},
    desc = "Commands to manage custom resource packs",
    min = 1,
    max = -1
)
@NestedCommand({ResourcePackCommands.class})
@CommandPermissions(PERMISSION)
public void respack() {}
 
开发者ID:OvercastNetwork,项目名称:ProjectAres,代码行数:10,代码来源:ResourcePackCommands.java


示例11: skin

import com.sk89q.minecraft.util.commands.NestedCommand; //导入依赖的package包/类
@Command(
    aliases = {"skin"},
    desc = "Commands to manipulate skins",
    min = 1,
    max = -1
)
@NestedCommand({SkinCommands.class})
@CommandPermissions("skin.change")
public void skin() {
}
 
开发者ID:OvercastNetwork,项目名称:ProjectAres,代码行数:11,代码来源:SkinCommands.java


示例12: perm

import com.sk89q.minecraft.util.commands.NestedCommand; //导入依赖的package包/类
@Command(
    aliases = {"permission", "perm"},
    desc = "Commands to query permissions",
    min = 1,
    max = -1
)
@NestedCommand({PermissionCommands.class})
@CommandPermissions(Permissions.DEVELOPER)
public void perm() {
}
 
开发者ID:OvercastNetwork,项目名称:ProjectAres,代码行数:11,代码来源:PermissionCommands.java


示例13: trace

import com.sk89q.minecraft.util.commands.NestedCommand; //导入依赖的package包/类
@Command(
    aliases = "trace",
    desc = "Packet dumping commands",
    min = 1,
    max = -1
)
@CommandPermissions(Permissions.DEVELOPER)
@NestedCommand(TraceCommands.class)
public void trace(CommandContext args, CommandSender sender) throws CommandException {}
 
开发者ID:OvercastNetwork,项目名称:ProjectAres,代码行数:10,代码来源:TraceCommands.java


示例14: trophies

import com.sk89q.minecraft.util.commands.NestedCommand; //导入依赖的package包/类
@Command(
        aliases = {"trophies", "trophy"},
        desc = "Commands relating to trophies."
)
@CommandPermissions(TrophyPermissions.BASE)
@NestedCommand(value = TrophyCommands.class, executeBody = true)
public void trophies(CommandContext args, CommandSender sender) throws CommandException {}
 
开发者ID:OvercastNetwork,项目名称:ProjectAres,代码行数:8,代码来源:TrophyCommands.java


示例15: whitelist

import com.sk89q.minecraft.util.commands.NestedCommand; //导入依赖的package包/类
@Command(
    aliases = {"whitelist", "wl"},
    desc = "Commands to manipulate the player whitelist",
    min = 1,
    max = -1
)
@NestedCommand(WhitelistCommands.class)
@CommandPermissions(Whitelist.EDIT_PERM)
public void whitelist() {}
 
开发者ID:OvercastNetwork,项目名称:ProjectAres,代码行数:10,代码来源:WhitelistCommands.java


示例16: regionFXCommand

import com.sk89q.minecraft.util.commands.NestedCommand; //导入依赖的package包/类
@Command(
		aliases = {"regionfx" , "rfx", "erg" , "effectregion"},
		desc = "Main RegionFX Command"
		)
@CommandPermissions("regionfx.admin")
@NestedCommand({RegionCommands.class})
public static void regionFXCommand(final CommandContext args, final CommandSender sender) throws CommandException{
}
 
开发者ID:applenick,项目名称:RegionFX,代码行数:9,代码来源:RegionCommands.java


示例17: whitelist

import com.sk89q.minecraft.util.commands.NestedCommand; //导入依赖的package包/类
@Command(
        aliases = {"whitelist", "wl"},
        desc = "Commands for managing the whitelist.",
        min = 1
)
@NestedCommand({WhitelistCommands.class})
public static void whitelist(final CommandContext args, CommandSender sender) throws CommandException {
}
 
开发者ID:twizmwazin,项目名称:CardinalPGM,代码行数:9,代码来源:WhitelistCommands.java


示例18: WithelistTeam

import com.sk89q.minecraft.util.commands.NestedCommand; //导入依赖的package包/类
@Command(aliases = {"whitelistteam", "wlteam"}, desc = "All Whitelist Command for Teams")
@NestedCommand(WhitelistCommands.class)
   public static void WithelistTeam(final CommandContext cmd, CommandSender sender) throws CommandException {
}
 
开发者ID:Alan736,项目名称:BishopPGM,代码行数:5,代码来源:WhitelistCommands.java


示例19: rank

import com.sk89q.minecraft.util.commands.NestedCommand; //导入依赖的package包/类
@Command(aliases = { "rank", "ranks" }, desc = "Commands for managing ranks.", min = 1, max = -1)
@NestedCommand({ RankCommands.class })
public static void rank(final CommandContext args, CommandSender sender) throws CommandException {
    
}
 
开发者ID:dentmaged,项目名称:Cardinal-Plus,代码行数:6,代码来源:RankCommands.java


示例20: modes

import com.sk89q.minecraft.util.commands.NestedCommand; //导入依赖的package包/类
@Command(aliases = {"modes", "mode"}, desc = "Lists information about the map's monument modes.", usage = "[list, next, push] [page]", max = 2)
@NestedCommand({ModesCommand.class})
public static void modes(final CommandContext args, CommandSender sender) throws CommandException {
}
 
开发者ID:twizmwazin,项目名称:CardinalPGM,代码行数:5,代码来源:ModesCommand.java



注:本文中的com.sk89q.minecraft.util.commands.NestedCommand类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java RemoteInvocationUtils类代码示例发布时间:2022-05-22
下一篇:
Java AbstractKeyPairProvider类代码示例发布时间:2022-05-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap