Package cn.ycraft.limbo.command.defaults
Class GameModeCommand
java.lang.Object
cn.ycraft.limbo.command.defaults.GameModeCommand
- All Implemented Interfaces:
DefaultCommands
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
gameModeOthers
(CommandSender sender, org.geysermc.mcprotocollib.protocol.data.game.entity.player.GameMode gameMode, Player target) void
gameModeSelf
(Player player, org.geysermc.mcprotocollib.protocol.data.game.entity.player.GameMode gameMode) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cn.ycraft.limbo.command.DefaultCommands
sendMessage, sendMessage, sendMessage
-
Constructor Details
-
GameModeCommand
public GameModeCommand()
-
-
Method Details
-
gameModeSelf
public void gameModeSelf(Player player, org.geysermc.mcprotocollib.protocol.data.game.entity.player.GameMode gameMode) throws Exception - Throws:
Exception
-
gameModeOthers
public void gameModeOthers(CommandSender sender, org.geysermc.mcprotocollib.protocol.data.game.entity.player.GameMode gameMode, Player target) throws Exception - Throws:
Exception
-