Just got into programming again but not the idea how I can implement it.
I want to program some kind of Minecraft bot that does something.
Question is now how can I read the data from the game (position, life, …) and how to send back actions that the bot carries out.
Would want to program the whole thing in Java.
I don't have Minecraft yet but will probably be the Java edition.
Take a look at CheatEngine (you can already change the values in the CheatEngine and, for example, try to write a program in single player that will heal you immediately if you come under life X. Very important: read documentation.