Jump to content




A pair of questions


  • You cannot reply to this topic
4 replies to this topic

#1 DrZoidberg

  • Members
  • 3 posts

Posted 27 June 2014 - 02: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?

#2 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 27 June 2014 - 02:46 PM

View PostDrZoidberg, on 27 June 2014 - 02:37 PM, said:

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

Sure, rig up a GPS.

View PostDrZoidberg, on 27 June 2014 - 02:37 PM, said:

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.

#3 DrZoidberg

  • Members
  • 3 posts

Posted 27 June 2014 - 05: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?

#4 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 27 June 2014 - 06:39 PM

View PostDrZoidberg, on 27 June 2014 - 05:45 PM, said:

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.

#5 0099

  • Members
  • 52 posts

Posted 27 June 2014 - 08: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!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users