    001    package net.minecraft.src;
    002
    003    public class CommandKill extends CommandBase
    004    {
    005        public String getCommandName()
    006        {
    007            return "kill";
    008        }
    009
    010        /**
    011         * Return the required permission level for this command.
    012         */
    013        public int getRequiredPermissionLevel()
    014        {
    015            return 0;
    016        }
    017
    018        public void processCommand(ICommandSender par1ICommandSender, String[] par2ArrayOfStr)
    019        {
    020            EntityPlayerMP var3 = getCommandSenderAsPlayer(par1ICommandSender);
    021            var3.attackEntityFrom(DamageSource.outOfWorld, 1000);
    022            par1ICommandSender.sendChatToPlayer("Ouch. That looks like it hurt.");
    023        }
    024    }