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

[1.42] turtle can't place pistons facing upwards

Started by Lion4ever, 27 September 2012 - 05:19 PM
Lion4ever #1
Posted 27 September 2012 - 07:19 PM
Hi,
a turtle can place a piston down and it is facing downwards, but if you use turtle.placeUp() it is facing to f=1 (East).
I need do make pistons push something up, but that is not possible now :P/>/>

Greetings Lion4ever

Edit: f=1 is not north
Edited on 27 September 2012 - 06:36 PM
Doyle3694 #2
Posted 27 September 2012 - 07:30 PM
the default direction in minecraft is east? If my memory serveres me correctly
Cloudy #3
Posted 27 September 2012 - 08:15 PM
Hi,
a turtle can place a piston down and it is facing downwards, but if you use turtle.placeUp() it is facing to f=1 (North?).
I need do make pistons push something up, but that is not possible now :P/>/>

Greetings Lion4ever

Is there something above the turtle when trying to do placeUp?
Lion4ever #4
Posted 27 September 2012 - 08:33 PM
neither directly nor next to the bock above
(I tried it in singleplayer)
same result
Cloudy #5
Posted 28 September 2012 - 12:27 AM
neither directly nor next to the bock above
(I tried it in singleplayer)
same result

Then that's why. Due to a change in placing logic if there is no block above we need to place the piston against the turtle. No real way round it I'm afraid.
Sebra #6
Posted 28 September 2012 - 06:53 PM
Can you substitute air behind by a Glass for a moment?
MFFS addon for IC2 makes forcefield in the air somehow.

Can you place items "against the turtle" always? This can make placement controllable and predictable. Even if player place it otherwise.
At least placing Pistons "base to self" is not bad. It can be used to push/pull something.

It would be best if somehow direction of placement would be controlled. RP2's microblocks are not easy to manipulate.
Lion4ever #7
Posted 29 September 2012 - 03:03 PM
It would be best if somehow direction of placement would be controlled. RP2's microblocks are not easy to manipulate.

the direction of placement is controlled!
turtle.placeDown() –> piston facing down
to the sides it is allways facing away from the turtle
so you can place a piston in every facing direction (regarding to the turtle position) except upwards :)/>/>