Jump to content

Recommended Posts

Posted

Hello,

I am sorry if the topic discussion/location is misleading in any way, this is my first post here.

To the point:

I am trying to create an entity using Eclipse and forge (Minecraft version 1.7.2). I have created the Entity class correctly, as well as registered it, because on test launching I successfully created a white box that panics like heck. I wanted to give it a model, so I followed a tutorial on creating the Render class, the Model class, and editing the ClientProxy class. That is where I am stumped, completely. Basically, when I try to do the RenderingRegistry.registerEntityRenderingHandler code, it errors saying its not applicable.

This is the ClientProxy class:

 

  Reveal hidden contents

 

 

I also have an error in the EntityRender class. For some reason, the last part of code says "Cannot cast from Entity to Entity Gorebiscus"

This is the code:

 

  Reveal hidden contents

 

 

And heres the Entity class just in case:

 

  Reveal hidden contents

 

 

And the main mod class:

 

  Reveal hidden contents

 

 

If it helps, the Model class:

 

  Reveal hidden contents

 

 

The model was made in Techne.

Thank you in advance, and once again, I apologize for anything wrong I did.

"A fight is going on inside me. It is a terrible fight, and it is between two Wolves. One is evil... He is Anger, Envy, Sorrow, Regret, Greed, Arrogance, Self-Pity, Guilt, Resentment, Lies, False Pride, and Superiority -- and Ego. The other is Good... He is Joy, Peace, Love, Hope, Serenity, Humility, Kindness, Benevolence, Empathy, Generosity, Truth, Compassion -- and Faith. The same fight is going on inside you, and inside every other person, too."

"But Papa, which Wolf will win?"

"The One you feed."

Posted

Hm... I seem to be just one step ahead of you. I used different methods and got no errors, but my Penguin only renders as a textureless white rectangular prism. Feel free to check out mine to see how to fix your errors. (It's the post right below!)

Developer of small, unreleased, basic, and incomplete mods since 2014!

Posted

I looked at your post and I don't see how it was fixed.

"A fight is going on inside me. It is a terrible fight, and it is between two Wolves. One is evil... He is Anger, Envy, Sorrow, Regret, Greed, Arrogance, Self-Pity, Guilt, Resentment, Lies, False Pride, and Superiority -- and Ego. The other is Good... He is Joy, Peace, Love, Hope, Serenity, Humility, Kindness, Benevolence, Empathy, Generosity, Truth, Compassion -- and Faith. The same fight is going on inside you, and inside every other person, too."

"But Papa, which Wolf will win?"

"The One you feed."

Posted

Agreed. My EntityPenguin has the following code:

public class EntityPenguin extends EntityAnimal {

//all of the code here

}

Developer of small, unreleased, basic, and incomplete mods since 2014!

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.