Jump to content

How would I PROPERLY make a "Mob"?


Recommended Posts

I have looked through source code of some mods that include mobs, and have successfully created a big white box with its own spawn egg. Though I cannot get the textures to load, probably because of the rendering class for the box is not being called, it still works. I would like however to properly learn how to make a mob for Minecraft 1.8, any leads to tutorials or articles will be greatly appreciated, thank you.

Link to comment
Share on other sites

I have searched, but most are outdated. I've run into an issue with initializing the rendering class for my mob, I cannot seem to find any tutorials that touch base on how to render mobs in minecraft 1.8. I have found some that talk about the old 1.8, but that's no use to me.

Link to comment
Share on other sites

You need to register rendering class in client proxy.


You can use vanillas renderer in case of "human" renderer. And ModlBiped as model.

Or, obviously make your own Renderer and Model.


Something like this for example. And yeah - making nice renderers is hard and long work, have fun reading vanilla classes.

RenderingRegistry.registerEntityRenderingHandler(MyEntity.class, new RenderMyEntity(Minecraft.getMinecraft().getRenderManager()));

public class RenderMyEntity extends RenderBiped
public RenderMyEntity(RenderManager rm)
	super(rm, new ModelZombie(), 0.5F, 1.0F);

1.7.10 is no longer supported by forge, you are on your own.

Link to comment
Share on other sites

Thanks, I gave up on that for now. I am trying to learn from the bottom to the top because there are no tutorials showing the "standard" way to create a minecraft forge mod. So far I've learned about the proxies, and a bit about rendering textures to a throwable entity and how I would have to write my own renderer class for a custom throwable object if I don't want to use snowball as my base render handler. So I'm getting somewhere, but it's a long journey that's barely began haha.

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.

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.