So I'm wondering how I could make code that finds and runs a code on every block of a certain type in the map. I don't care if it does it to blocks only in the render distance our out of them, but all help is appreciated. I'm just trying to get better at modding, and most tutorials are useless. Either they go into detail with stuff that's useless, or they don't take time to explain the advanced stuff.
0
Lol. That was my typo, I'll fix it.
0
0
"unreported exception java.lang.InterruptedException; must be caught or declared to be thrown
Thread.sleep(100);"
I don't know what this means, I'm new to modding T_T
0
I'm testing now, thanks.
0
So I'm trying to make mods with MCP, and before I can do much, I need to learn how to make a delay. I want it basically to do this
code1
delay 5 seconds
code2
etc.
All help is appreciated.