Hello, I was trying to make a plugin where you can put a cloth block on the redstone, and then when it receives power it turns white, and when its off it turns black. But how can I set the wool color? I heared something about setData, but it didn't really seemed to work when I tested it... And is it correct that I used the RedstoneChange listener and BlockRedstoneChange? I hope that someone can help me a bit with understanding the redstone events and setting the wool colors, because there is no Material called 'BLUEWOOL' etc. in Bukkit. Cheers!
Check out a mod called ControllerBlock, I believe that does a very similar thing and they are working on/have support for block colours In case you hadn't worked it out, wool colours (and tree trunk designs) have a different ID system - they all share the same ID number and have a different number somewhere that specifies the actual texture.