Jump to content

[1.6.4] Issues registering mob rendering and unknown cause of error


kenny2810

Recommended Posts

I am trying to add a new mob called a LavaCreeper yet when I come to register the textures it spams this error report:

 

Also in the same class I am getting an error in this line of coding: 

this.tasks.addTask(2, new EntityAICreeperSwell(this)); [The error says: The constructor EntityAICreeperSwell(LavaCreeperClass) is undefined]

 

UPDATE: Thanks ninja for helping me sort out the issue regarding the texture rendering but I still cannot understand what I must do regarding the this.tasks.addTask(2, new EntityAICreeperSwell(this)); Could you please be a bit more clear coolboy? Also I moved the code to a gist for easier reading and have removed the original error I was getting and have pasted the new error I am getting. Again thank you both of you for your help :)

https://gist.github.com/anonymous/8383622

 

If I need to post any other classes just tell me and thanks for the help in advance :)

 

 

Link to comment
Share on other sites

1

Are you sure your texture is compatible with the TextureManager? If not, then it can't load the texture correctly.

 

2-

You have to create an new instance of EntityAICreeperSwell as EntityAICreeperSwell (inside the class) verifies the methods are owned by EntityCreeper.

 

 

Also, please put your code into pastebin/in spoilers/code, it swallows the whole entire page...

Link to comment
Share on other sites

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.



×
×
  • Create New...

Important Information

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