Jump to content

Recommended Posts

Posted

I am using the getTileEntity (int metadata) function now. Thanks.

 

But the getTileEntity () function is abstract and I have to use it. What would I return in that function?

 

I see no getTileEntity() function in block.  Are you subclassing from BlockContainer?  If so then do not subclass from BlockContainer.

Posted

I returned null and it works. I have to use a Block Container or else the GUI won't open.

For note, Forge can open a GUI from anywhere and from any action, you do not need BlockContainer.  ;)

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.