Jump to content

Recommended Posts

Posted

So I'm new to modding and following some tutorials. Currently I'm creating a chest but I'm stuck on a error

 

	public void load(){

        ModLoader.registerContainerID(this, 30);	
	GameRegistry.registerTileEntity(TileEntitycrest.class, "TileEntitycrest");
	GameRegistry.TileEntity(crest, "crest");


}

 

 

That is the part of the code I'm using. The problem is that he gives a error at "TileEntity"

I hope somebody knows what I'm doing wrong.

 

~Kev

Posted

GameRegistry.TileEntity(crest, "crest");

yeah, thsi method doesnt exists, what are you trying to do ?

how to debug 101:http://www.minecraftforge.net/wiki/Debug_101

-hydroflame, author of the forge revolution-

Posted

Well i looked it up in the tutorial i was following but now i cant find it in the video but i'm creating a chest and just following the tutorial

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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