Im trying to make a block output a redstone signal, but I'm not sure how to do it. I've looked at the lever and button classes, but with obfuscation I cant really tell what is going on. Im assuming it has to do with block metadata, but Im not sure.
Im going to be honest, I used the BlockBeacon class to figure it out, though Im having more issues with the redstone. I overrided the isProvidingWeakPower method, and the canProvidePower method, and the redstone around it doesnt update.