can somone confirm that lever.setPowerd(true); doesnt work i cant get it to work and before i post as a bug it would be nice to know that im not just doing somthing wrong
@bleachisback ill try that but the lever also uses its data for other things so that might harm it @The Angry kat yes i am
So just combine it ? Code: boolean isLeverOn(Block b) { return b.getData() & 0x8 == b.getData(); } void setLever(Block b, boolean on) { Byte d = b.getData() % 0x8; if (on) d = d | 0x8; b.setData(d); } It's just out of my head. But it should work.