Started by
Ri0t
on
Topic category: Help with Minecraft modding (Java Edition)
So i have a new block called the Redstone container, and i have it so when it gets powered from the north it holds a Redstone signal and when it gets powered from the west or the east it stops emitting Redstone, but i want it to only emit Redstone from the south, how could i do this?
i was thinking of setting redstone powered to true of block at x x x+1 as a fix but there is no set redstone procedure, so now im trying to set it with nbt data/variables but i have no idea what the nbt tag or variable should be to set redstone power, please i really need help T^T
UPDATE: I tried using set boolean/integer property powered/power of block at x,x,x+1 to true/15 and it works sort of, it seem to only work if its x-1 or z-1, and if its x,z+1 it doesnt.
Hey did you ever figure out how to make it work fully?
Not really, I made a workaround, but it's a pain. I basically checked every block around it to see if it could be powered, and then checked its position and rotation. If it were south, I set the power level to 15. It is still buggy, so I don't think anyone should copy it