Using the api to make a generator block?

  • Hey guys, i was just wondering, how do you use the api to make a block emit eu/t. I was told that the api has everything needed to make a block emit eu/t. For now, i just want it to emit. Constantly. I have tried and tried to get this to work but no matter what i do, it doesn't work. Yes, I do have a TE thank you very much. I really think that someone needs to make a tutorial on this stuff... I mean really. Anyway, sorry for my childish rant. Go ahead and shoot me down. Cya.

  • EnergyNet.getForWorld(worldObj).addTileEntity(this);


    in the constructor of the TE? Or somewhere else?


    Here is what happens when I place the block:
    http://pastebin.com/49U3cxCf


    EDIT: http://pastebin.com/PmVgnpRd is my TE code.

    IM A n00b AND I KNOW IT!

    Edited once, last by sci4me ().

  • Wow. Guess what I did wrong? extends BlockContainer not Block. I must be the biggest IDIOT on EARTH!