Jump to content

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


SuperNekoMajin

Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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/

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Announcements



×
×
  • Create New...

Important Information

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