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'm making a custom XPOrb which has the same code as EntityXPOrb and RenderXPOrb. I just changed a few things and changed what happens on pick up, then I get them to spawn when I throw an XP Bottle as well as normal XP Orbs.

ย 

When I throw a bottle, only the vanilla XP Orbs render, not my own XP Orb (with its custom texture and texture location). They don't render, however what happens when I pick them up does happen. This means my custom XP Orb gets registered into the world and it exists in the world, but I physically cannot see it.

ย 

Is there something I'm doing wrong?

I use EntityRegistry.registerGlobalEntityID and RenderingRegistry.registerEntityRenderingHandler as my two main methods in my base mod file.

did you do a EntityRegistry.registerModEntity

Legend of Zelda Mod[updated September 20th to 3.1.1]

Extra Achievements(Minecraft 1.8!)[updated April 3rd to 2.3.0]

Fancy Cheeses[updated May 8th to 0.5.0]

  • Author

did you do a EntityRegistry.registerModEntity

No i did not but I wouldn't think that's the problem because I know and can prove the entity renders in the world. I just physically cannot see it as it does not render.

  • Author

I will try doing .registermodentity as a few other topics on the internet said to do that as a solution. I'll get back to you as to if it worked

  • Author

.registermodentity

this causes the game to close and give this error

ย 

AL lib: (EE) alc_cleanup: 1 device not closed

ย 

what does this mean? How do I use this method correctly?

Choose one of the entity registry method. Don't do both, that is useless.

ย 

Use @NetworkMod annotation.

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.