YATS/Forge Documentation
|
Public Member Functions | |
String | getCommandSenderName () |
void | sendChatToPlayer (String s) |
boolean | canCommandSenderUseCommand (int i, String s) |
String | translateString (String s, Object...var2) |
ChunkCoordinates | getPlayerCoordinates () |
boolean net.minecraft.command.ICommandSender.canCommandSenderUseCommand | ( | int | i, |
String | s | ||
) |
Returns true if the command sender is allowed to use the given command.
Implemented in net.minecraft.entity.player.EntityPlayerMP, net.minecraft.server.MinecraftServer, net.minecraft.client.entity.EntityPlayerSP, net.minecraft.client.entity.EntityOtherPlayerMP, net.minecraft.tileentity.TileEntityCommandBlock, net.minecraft.network.rcon.RConConsoleSource, and net.minecraftforge.common.FakePlayer.
String net.minecraft.command.ICommandSender.getCommandSenderName | ( | ) |
Gets the name of this command sender (usually username, but possibly "Rcon")
Implemented in net.minecraft.entity.player.EntityPlayer, net.minecraft.server.MinecraftServer, net.minecraft.tileentity.TileEntityCommandBlock, and net.minecraft.network.rcon.RConConsoleSource.
ChunkCoordinates net.minecraft.command.ICommandSender.getPlayerCoordinates | ( | ) |
Return the position for this command sender.
Implemented in net.minecraft.server.MinecraftServer, net.minecraft.entity.player.EntityPlayerMP, net.minecraft.client.entity.EntityPlayerSP, net.minecraft.client.entity.EntityOtherPlayerMP, net.minecraft.tileentity.TileEntityCommandBlock, net.minecraft.network.rcon.RConConsoleSource, and net.minecraftforge.common.FakePlayer.
void net.minecraft.command.ICommandSender.sendChatToPlayer | ( | String | s) |
Implemented in net.minecraft.entity.player.EntityPlayerMP, net.minecraft.server.MinecraftServer, net.minecraft.client.entity.EntityPlayerSP, net.minecraft.client.entity.EntityOtherPlayerMP, net.minecraft.tileentity.TileEntityCommandBlock, net.minecraft.network.rcon.RConConsoleSource, and net.minecraftforge.common.FakePlayer.
String net.minecraft.command.ICommandSender.translateString | ( | String | s, |
Object... | var2 | ||
) |
Translates and formats the given string key with the given arguments.
Implemented in net.minecraft.entity.player.EntityPlayer, net.minecraft.server.MinecraftServer, net.minecraft.tileentity.TileEntityCommandBlock, and net.minecraft.network.rcon.RConConsoleSource.