Hello, I'm kind of new to using the Forge API so excuse my ignorance.
I'm just trying to write a block that acts exactly the same as Redstone Wire.
I set up my block to extend BlockFence because I want it to behave the same way and I've been playing around with the powered functions but I can't get anything to have any effect ingame.
If i'm reading the source material right, I override canProvidePower() and return true, then I override getStrongPower and use isProvidingWeakPower to recieve and send the redstone signal
Here's an example:
Redstone signal is sent through the custom post block up to the lamp, powering it.
What exactly needs to be done to get this effect? Thank you.