I'm working on a bot attempt to kill players in a private minecraft server. I would write a server side bot using packets and an instance of an EntityPlayer, but I feel like that would be a lot more work than writing a client side bot using mcp. I've written pathfinders to make the bot lock on the the nearest player, move towards them, but when the bot runs into water, lava, cliffs or the player starts building up, the bot can't really do anything. I'm not sure how to make thePlayer in mcp place blocks, and it would be helpful to learn how. I understand that a way to break server rules shouldn't be put on a public forums, and if you feel this way, hmu on discord DJCowGaming#7792 in the dms to try and answer my question.
Typically with source modding I try to find the base of what makes sense. For example, to find how blocks are placed natively you maybe first would look at where the mouse inputs are received. From there, some kind of call will be visible that will put you on the right track to finding what you're looking for. Also I use CTRL+H in eclipse all the time to search for references to a class or method. That helps a lot too for performing the same process backwards.