Is this a bug? Is it fixable, and if so, is it on the road map?
This is a read-only snapshot of the ComputerCraft forums,
taken in April 2020.
turtle.place()
Started by nornagon, 23 March 2012 - 07:30 AMPosted 23 March 2012 - 08:30 AM
I tried to place IndustrialCraft 2 copper wire with turtle.place(), but when I call that function with a slot containing copper wire selected, it simply returns false.
Is this a bug? Is it fixable, and if so, is it on the road map?
Is this a bug? Is it fixable, and if so, is it on the road map?
Posted 23 March 2012 - 09:50 AM
Its not a block, currently turtles can only place blocks.
Posted 23 March 2012 - 10:09 AM
Ah, I see.. what's the difference between a block and whatever copper wire is? Is there a technical reason placing one is more difficult than placing the other?
/confused
/confused
Posted 23 March 2012 - 01:50 PM
yes there is and it's related to the way minecraft code is written. It is quite simple to place full blocks though.
Posted 23 March 2012 - 02:05 PM
There are "blocks" and "items" in minecraft code. And they arnt always as "clear-cut" as what it sounds like. Sapling/Torch = block (O.o)
Posted 23 March 2012 - 07:55 PM
so turtles can only place blocks can they place saplings?
Posted 23 March 2012 - 08:40 PM
I believe they can, because for whichever reason, as casper said, saplings and torches are blocks…
So are turtles…
So are turtles…
Posted 23 March 2012 - 11:06 PM
thats weird i wouldnt call them blocks a sapling doesnt look like a block
a block looks like a block though
a block looks like a block though
Posted 24 March 2012 - 01:01 AM
They might not look like blocks, but they might've expanded on the Java Block class (haven't checked yet), so that would make them technically blocks, i.e. they share common code. :(/>/>thats weird i wouldnt call them blocks a sapling doesnt look like a block a block looks like a block though
Posted 24 March 2012 - 01:45 AM
They might not look like blocks, but they might've expanded on the Java Block class (haven't checked yet), so that would make them technically blocks, i.e. they share common code. :(/>/>thats weird i wouldnt call them blocks a sapling doesnt look like a block a block looks like a block though
:)/>/> haha
like my signature :)/>/>
Posted 24 March 2012 - 02:00 AM
Huh? You've lost me there. :(/>/>- snip -
:)/>/> haha like my signature :)/>/>
Posted 24 March 2012 - 02:05 AM
Hamishs Computer Craft Programs
underneath this
underneath this
Posted 25 March 2012 - 05:01 AM
Please don't advertise yourself :(/>/>.Hamishs Computer Craft Programs
underneath this
The block/item thing is confusing. Copper cables actually look really ugly if picked up so Alblaka gave them there own Item ID with a nice friendly texture. When you right click with this item it ddoes some fancy stuff and tells MC to place a copper cable. Turtles don't/can't execute this code so you can't place copper cable (it may be fixed but I think you can pick up "actual" copper cables with the wrench- try those).
Posted 25 March 2012 - 10:33 AM
I'm sorry, but I still don't get how this relates to my earlier post.Hamishs Computer Craft Programs
underneath this
I mean, you said "haha like my signature", but I just can't see any similarity to what I said that would explain what in your signature is like my explanation about the blocks?
*very-confused*