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.

How to make existing mobs registered with ModEntity instead of GlobalEntityID?

Featured Replies

Posted

I'll admit, I don't know anything about Java. However, I'm trying to use several mods with more than 256 entities between them. I heard that with Forge, if you register mobs with registerModEntity() instead of registerGlobalEntityID(), you can have as many entities as you want.

 

Is that true? If I switched them around, would I be able to have as many entities as I wanted? Or do I have no idea what I'm talking about?

9 hours ago, SuperNekoMajin said:

I heard that with Forge, if you register mobs with registerModEntity() instead of registerGlobalEntityID(), you can have as many entities as you want.

Pretty much. 256 entities per mod.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

35 minutes ago, Draco18s said:

Pretty much. 256 entities per mod.

 

I don't think the 256 limit exists at all in modern versions. It looks like EntitySpawnMessage (the packet sent by FML to spawn mod entities) sends the entity type ID as a 32-bit integer, so the limit is 232 entities per mod.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

I thought that might be true when I posted, but I wasn't sure.

256 per mod was always "more than any mod will ever need."  Even Mo'Creatures only adds fifty eight.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

I think this guy's question isn't really about modding but about USING mods. He's saying that he wants to use a bunch of mods simultaneously and already knows there are more than 256 entities combined.

 

In that case, the answer is it depends on which version of Minecraft / Forge he's using as well as assuming that the mods have been ported properly to the newer versions. If he's back on 1.6.4 (and a surprising number of people still play with old versions) or something the answer is probably no.

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

  • Author
11 minutes ago, jabelar said:

I think this guy's question isn't really about modding but about USING mods. He's saying that he wants to use a bunch of mods simultaneously and already knows there are more than 256 entities combined.

 

In that case, the answer is it depends on which version of Minecraft / Forge he's using as well as assuming that the mods have been ported properly to the newer versions. If he's back on 1.6.4 (and a surprising number of people still play with old versions) or something the answer is probably no.

Yeah, that's exactly what I'm saying. I'm on 1.7.10 most of the time. Is that too old?

9 minutes ago, SuperNekoMajin said:

Is that too old?

Not only is the answer to that yes, but if the mods you're using use GlobalIDs, you can't fix that.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

  • Guest locked this topic
Guest
This topic is now closed to further replies.

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.