PneumaticCraft: Repressurized

PneumaticCraft: Repressurized

50M Downloads

[Feature Request] drone vector variable

duncanwebb opened this issue ยท 1 comments

commented

Would it be possible to add a new drone variable? To allow a drone to build a structure we can use the $drone drone variable to get the position on the drone. It would be useful if there was another variable to indicate the direction of the drone in relation to the player who placed the drone down.

In the following image the drone is placed south, west and down one block, so the vector is x=1, y=-1, z=-1, it could have a coordinate of 1, -1, -1 and then be multiplied by 10, 0, 5 to give a relative coordinate of 10, 0, -5.

image

Hopefully, I have the correct directions as I find Minecraft's coordinate system a little less intuitive than it could be - in school y was up (north) the page, x was right (east) and z was perpendicular (up)

commented

Never mind, I missed the owner variable, it can be done like this
image
image