It doesn't work. If I power it indirectly (that's what it has to if it's done) it doesn't change it state/texture. Here's my code:
the onNeighbourBlockChange method:
the TileEntity class:
and the TileEntitySpecialRenderer class:
this is how I apply the redstone signal:
As I mentioned in the title, I want my block to wait a couple seconds after receivong a redstone signal, and than continue with it's code. And howwould I go about doing that in a TileEntitySpecialRenderer class?
As I mentioned in the title, I get a crash when I use the onItemUse method. In that method I added some code so it places a block with a custom model that's larger than 1x1x1.
The onItemUse() and rotXZByDir() method:
And this is the eclipse console:
And the crash report:
You need to be a little more informative in your posts, but about your question, I have only one thing to say: search trough the javadoc if you can find any forge hooks.
Add a
System.out.prinln("The custom ores are generating!");
to your ore generation method/loop, than search for it in the console and if it's there, voila, else the ores aren't generating.
That doesn't work either... I got the same outcome... In another mod it works well, but that's for mc 1.5.2.
EDIT: I just took a look at the eclipse console and it sais:
Which looks like to me that it has to do something with the writeToNBT metho. And it sais it's a bug... But there isn't anything in the TileEntityStreetlight class (yet)!!!