I'm trying to make a logic gate, in this case, a NOT gate. This block should behave roughly like a repeater, without the delay option, or the locked option, and inverting the signal it gets (input > 0 makes output = 0, and input = 0 gives output = 15). For some reason though, the game first off all, doesn't really wire the redstone to my NOT gate, and the NOT gate doesn't emit power either, and it tends to crash the game too, with the message: Caused by: java.lang.IllegalArgumentException: Cannot get property BooleanProperty{name=powered, clazz=class java.lang.Boolean, values=[true, false]} as it does not exist in Block{turingcomplete:not_gate_block}. The code for my block is included below.
Can someone help me out and point out the things I'm doing wrong?