Code:
TestBlock: http://pastebin.com/nub56uNM
GuiContainerTileEntityTestBlock: http://pastebin.com/ueL72uSc
GuiMessage: http://pastebin.com/2idHgLsk
GuiHandler: http://pastebin.com/pYC8pr4X
ContainerTileEntityTestBlock: http://pastebin.com/a3GB6rNC
GuiMessageHandler: http://pastebin.com/qzZEbKfP
TileEntityTestBlock: http://pastebin.com/Aj4gCkJa
Alright, I can't describe this problem very well, so here is exactly what I do:
1. Create a new world, place my block
Special Occurrences: Nothing
Log entry:
2. Place an energy source next to block and right click the block
Special occurrences: I see the RF filling up (in the form of text)
Log entry:
3. Break the block, place it elsewhere
Special occurrences: The block gets placed as normal.
Log entry:
Note about the log: Where is this NPE coming from?
4. Right-click the block
Special occurrences: RF appears as 0.
Log entry:
Note about the log: It's weird, that the block shows that there is RF, but the GUI itself and the GUI prints display as 0.
5. Exit, re-enter world, right click block
Special occurrences: RF is still 0.
Log entry:
Note about the log: It's even weirder, that although the GUI prints continue to display RF as 0, this time the block itself displays RF as 0 (didn't happen in step 5, read note).
Tell me if you need more files/logs.
Appreciate all the help I can get.
Regards,
GreatBlitz.