OpenComputers II

OpenComputers II

27.1k Downloads

Redstone API accepts absolute sides, but they don’t work properly

Hawk777 opened this issue · 2 comments

commented

The redstone API accepts absolute sides (north, south, east, and west), but they don’t seem to correspond to those actual directions. For example, “east” and “right” always seem to mean the same thing, regardless of the rotation of the computer or redstone interface block, which is clearly not the case—“right” should refer to a different block in the world when the interface block or computer is rotated, but “east” should not.

OC2 0.1.6+5d0bd81

commented

Interesting point. That sounds like a good semantic distinction, yeah. Although it does make me want to add a compass to the recipes of the respective parts :P Will probably make that change to the behavior though, since it sounds a lot more intuitive. Thanks!

commented

You could also just make absolute directions not work at all. That would seem somewhat realistic, in the sense that, absent a magnetometer, a real computer has no idea which direction it’s pointing, and even those that do, don’t make “COM1” (for example) refer to a different physical serial port when you turn the computer around.