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.

[1.6.4].registerEntityRenderingHandler Not Working || Help Needed!

Featured Replies

Posted

Greetings! I've been trying to add a mob lately and have had no success. If ANYONE knows of any good tutorials for adding mobs in 1.6.4 it would be greatly appreciated if you could direct me to the tutorial. Anyways when I try to register the mob in my ClientProxy class it gives me an error.

 

In Proxy Class:

 

RenderingRegistry.registerEntityRenderingHandler(EntityGiantRat.class, new RenderGiantRat(new ModelGiantRat(), 0.5F));

 

 

It wants me to change .registerEntityRenderingHandler() to .registerBlockHandler() but when I do change it it wants me to change it back to .registerRenderingHandler() and so on. Does ANYONE know how to add custom mobs or why this isn't working? I've been trying to figure this out for hours and hours. Any help is greatly appreciated!

Hi

 

If you try to compile with

RenderingRegistry.registerEntityRenderingHandler(EntityGiantRat.class, new RenderGiantRat(new ModelGiantRat(), 0.5F));

what error message does it give you?

 

-TGG

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.