Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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.

From your title, I'm guessing you mean you would like to know how to make a mob for 1.8 rather than a mod. There are plenty of tutorials you can find online with a quick google search.

  • Author

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.

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()));

@SideOnly(Side.CLIENT)
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.

  • Author

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.

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.