Finding Minecraft memory addresses
Currently I am working on a bot in AutoIT to help me grind my MCMMO combat levels up with as little supervision from me as possible.
The way the bot works is I put it in an ender grinder that spawns endermen north, west, south, and east of me.
I have the bot make a slow spin around so it looks at all the endermen, causing them to come up to the grinder.
Then the bot does fast spins while spam clicking for a set amount of time (I change this depending on what skill I'm grinding) until it's time for another slow spin to get the endermen.
So far, I've managed to make it work without having to read any memory from the game by getting rid of the need to have the bot feed my character by putting a regeneration beacon down.
However, I've realized I could make the bot much more efficient if I could read the memory address for the player's viewing angle, as the endermen all only spawn in small sections. Currently my bot doesn't go straight to looking at only those sections, as I can't program it to without getting the viewing angle.
I've thought about using ImageSearch to get the viewing angle straight from the F3 menu, but I'm looking at this as a sort of last resort, as it wouldn't be the best way to go about this.
Can someone help me out here? Any time I go to get the memory address for something in Minecraft, I can usually get a memory address with a data value that I'm looking for to pop up, but after a few seconds it changes on me to a dead address.