This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
DrZoidberg's profile picture

A pair of questions

Started by DrZoidberg, 27 June 2014 - 01:37 PM
DrZoidberg #1
Posted 27 June 2014 - 03:37 PM
Hi!
I just started making things with computercraft, and it's too awesome.

I'm learning a lot of things, but there are a few that i don't know how to do.

1-How can i get the absolute coordenates from Minecraft, for example the forward block of a turtle?

2- Is there a way for identifying a block? I mean, how do a turtle now the block up itself is a diamond ore?
Bomb Bloke #2
Posted 27 June 2014 - 03:46 PM
1-How can i get the absolute coordenates from Minecraft, for example the forward block of a turtle?

Sure, rig up a GPS.

2- Is there a way for identifying a block? I mean, how do a turtle now the block up itself is a diamond ore?

There's this - and yes, before you ask, it's intentionally limited.
DrZoidberg #3
Posted 27 June 2014 - 06:45 PM
OMG, Thanks!
Sadly, my GPS "server" shut down whenever I quit the game, ¿I can initialize this in some form whre de game starts?
Cranium #4
Posted 27 June 2014 - 07:39 PM
OMG, Thanks!
Sadly, my GPS "server" shut down whenever I quit the game, ¿I can initialize this in some form whre de game starts?
If you use a startup program to set the program running, it'll restart automatically.
0099 #5
Posted 27 June 2014 - 09:34 PM
To detect a diamond ORE, you need to somehow get a block of diamond ore in your inventory. turtle.comparing a block to a regular diamond won't work. There is another method: give it a block of stone (NOT cobble) and let it look for something that ISN'T a stone.

P.S. Another advice to a novice turtle-miner: don't forget about GRAVEL!