Hello their, before you read the rest of the post please note this is in no way for a hacked client (On other forums people took this question the wrong way); I am interested in making an AI that can solve puzzles (like finding a block, and how to get to it without falling in lava). This will be used on a multiplayer server, but a private server run by me, the server will have no mods, like I said, this is in no way for hacking.
Ok, hopefully I won't get banned by a ton of Admins now (), me and my friend enjoy java AI, but were new to it, and forge, so we though this would be the best place to ask questions. What we are trying to achieve is a mod that will walk towards a detected block. The first part we need to learn is how to detect blocks in the first place.
Could I please ask for any information/tutorials for how to detect a blocks ID, from a set of coordinates. Say the coordinates X1, Z1, Y50 where given to the client, I think I can detect the players coords and add 1 to X ETC, what I need is to return a variable on what the Data Value of the block is, and if rotated/has subitem ID, what that is (Like 36:2 ETC).
If anyone knows how to please tell me. I had a search on the web but my keywords returned nothing of any use, the words Find, block and ID seem to pull up a lot of useless block creating tutorials
Thank you very much, sorry if it is a easy answer that I should know
~Joe