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.

[Solved] Registering renderers with forge

Featured Replies

Posted

Hello, this is my first post in forge forums, don't be harsh on me. :)

 

So, comming from Risugamis' ModLoader to forge didn't seem much of a difference to me in coding style, but it is way easier just to manage client/server code, because of them being connected together. The only difference I've seen for now, is in adding a new Entity. I registered it, added to spawn, but standard ModLoader addRenderer(Map map) code didn't work, but more strangely, entity worked by itself, without defining a renderer nor a model. (Gladly I've got a BiPed model for my test Pigman entity, so it was fine, but still creepy.)

 

Can somebody guide me in this situation? What I am supposed to do? Is there something new about Forge and renderers? I've been searching about it entire day (literally, 12 hours) but all I've got was ordinary modloader method.

 

Hope you can help me.

  • Author

Sadly, GameRegistry didn't give me any luck just because it doesn't contain any Render/Entity related functions apart from TileEntity registration.. :/

 

Edit: Thank you! You've guided me in the right direction, Forge Registry classes were what I needed, thanks given. :)

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.