Posted March 24, 20196 yr I need to know how to get a mob ID/name from any given entity. For instance, if Mod A adds a Beetle mob, I'd like to be able to know that the mob is a beetle from mod A, and if Mod B adds a Beetle mob I'd like to be able to know it's from Mod B, despite sharing a display name from Mod A. How would I go about doing this programatically? Couldn't find any info online, and Entity.getName() only tells me the mob's display name and not where it came from. Something like "moda.mobname" is kind of what I'm aiming for, so I can do something based off of the specific mob. Edited March 24, 20196 yr by lightningdragonx5
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.