Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?
You are not logged in.
Pages: 1
Simple question, just never had to do it. How do I get the block id at a specific coordinate?
Offline
Offline
cercul1 wrote:Simple question, just never had to do it. How do I get the block id at a specific coordinate?
Inspect
Press "I"It should the show you the coordinates, and the block ids for the foreground and background.
I think this question is related to bot programming, do you see the subforum name?
Offline
minam wrote:cercul1 wrote:Simple question, just never had to do it. How do I get the block id at a specific coordinate?
Inspect
Press "I"It should the show you the coordinates, and the block ids for the foreground and background.
I think this question is related to bot programming, do you see the subforum name?
Weops. I didn't.
Offline
The only way to do that is by keeping track of the blocks you obtain in init and through all the 'b' messages yourself.
There's no message you can sent to the server to receive the block at [x,y].
Offline
you need to retrieve the World Data information of init message, deserialize it and copy it into an array
here:
https://forums.everybodyedits.com/viewt … p?id=26792
(credits Processor)
F
Offline
Pages: 1
[ Started around 1732198127.7843 - Generated in 0.038 seconds, 12 queries executed - Memory usage: 1.48 MiB (Peak: 1.62 MiB) ]