Jump to content

Recommended Posts

Posted

When i try to create a Tile Entity in my block class it gives the following error:

 

The method createNewTileEntity(World) of type SoulMagnetBlock must override or implement a supertype method

 

This is my code:

 

        @Override
        public TileEntity createNewTileEntity(World world) {
        		return new TileEntitySoulMagnetBlock();
        }

 

Thanks for any help!

PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.

Posted

2 things

A: The problem could be your tile entity, please show its code

B: remember to do GameRegistry.registerTileEnitiy in your mod file, otherwise nbt saving won't work

"you seem to be THE best modder I've seen imo."

~spynathan

 

ლ(́◉◞౪◟◉‵ლ

Posted

Yes,

I registered the Tile Entity but it is not actually being called. It behaves like the Method doesn't exist.

 

Here is the full code of my Block class:

 

  Reveal hidden contents

 

 

And the Basemod:

 

 

  Reveal hidden contents

 

PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.

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.