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

i wonder...

Started by SpencerBeige, 15 February 2015 - 11:22 PM
SpencerBeige #1
Posted 16 February 2015 - 12:22 AM
i wonder what computercraft command block computers will be like! i just feel like it'll be useless…we already have the cmd block api, and we can already set vars in them
Edited on 15 February 2015 - 11:23 PM
valithor #2
Posted 16 February 2015 - 12:23 AM
i wonder what computercraft command block computers will be like! i just feel like it'll be useless…we already have the cmd block api, and we can already set vars in them

This really isnt a suggestion? The 1.7 version has already been officially been released go download it and try them out :D/>
Bomb Bloke #3
Posted 16 February 2015 - 01:35 AM
Best I can make out, the primary difference lies in two functions: commands.getBlockPosition() (which returns the world location of the computer), and commands.getBlockInfo(x,y,z) (which returns the ID and metadata of pretty much any generated block in the world - for eg, you can use it to work out the direction the computer is facing, for starters).

Although I haven't actually sat down and compared matters, I'd also imagine that executing commands through a command computer would run a heck of a lot faster than via a command block acting as a peripheral. I know that they can "setblock"s at a crazy-fast pace. Also bear in mind that if you care about the return values, which you'd otherwise have to read in via redstone (which only updates every two server ticks, or once per tenth of a second), odds are a command computer will be much faster again.
Geforce Fan #4
Posted 16 February 2015 - 07:57 AM
They can't boot from disks, so non-ops cannot hijack them
non-ops cannot touch them
they look cool
what blomb said too
Bomb Bloke #5
Posted 16 February 2015 - 01:08 PM
Oh hey, here's something cool: commands.getBlockInfo() will, if you point it at a block in an ungenerated chunk, cause that chunk to be generated.

Wanna pre-generate large areas of your map for a server? Just run a basic nested loop! :)/>
Dustmuz #6
Posted 17 February 2015 - 10:34 AM
Bomb..

That will be very usefull for servers with new maps..
set up a Computer, have it run for a few hours, and boom.. you got yourself a large portion of the map generated
cdel #7
Posted 18 February 2015 - 05:41 AM
I know they will be quite good for servers, be wonderful to have computers that some "mischievous" players cant tamper with.