Jump to content

Entity mapping in log?


Oxzy
 Share

Recommended Posts

For various mods I'm in need of the exact names for the mobs added by other mods. Somebody tried to write a mod that outputs all the entities in a logfile, but that's apparently not possible due to forge logging it at the finest level.

 

http://www.minecraftforum.net/topic/1113099-152-ruins-structure-spawning-system/page__st__1100#entry22838406

 

Any help regarding it?

Link to comment
Share on other sites

For various mods I'm in need of the exact names for the mobs added by other mods. Somebody tried to write a mod that outputs all the entities in a logfile, but that's apparently not possible due to forge logging it at the finest level.

 

http://www.minecraftforum.net/topic/1113099-152-ruins-structure-spawning-system/page__st__1100#entry22838406

 

Any help regarding it?

 

It is possible if you go through one of the EntityList arrays / lists available. You can then either print out the registered class names or the (un-)localized entity names. I would recommend to use both, like className => localized/unlocalized name

Anyway, you have to be careful, I recommend to do this when Minecraft is fully loaded. If you do this one of your @init methods, it's likely that you'll miss entities added by mods.

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

Link to comment
Share on other sites

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
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

Important Information

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