Jump to content

GUIs for Entities


Flenix

Recommended Posts

Hey guys,

 

Does anyone know anything about opening a GUI on an entity? I want to add GUIs for my mobs.

 

I explored the code a bit (looking at things like villagers & chest carts) - it looks like they all required something to already exist for them in the EntityPlayer class. I may be wrong about that, but that's what it looked like.

 

Anyone know a way around this?

width=463 height=200

http://s13.postimg.org/z9mlly2av/siglogo.png[/img]

My mods (Links coming soon)

Cities | Roads | Remula | SilvaniaMod | MoreStats

Link to comment
Share on other sites

Are there any examples of the above? That is what I'd tried first but it didn't work, and it wasn't until I looked at other entities that I thought something funny was going on.

 

Also, diesieben - Maybe I misunderstood you, but how can I use the entityID there? It asks for the world and three ints, but I thought it would take those ints as coordinates, so if I throw an entityID there instead wont it just confuse everything...?

width=463 height=200

http://s13.postimg.org/z9mlly2av/siglogo.png[/img]

My mods (Links coming soon)

Cities | Roads | Remula | SilvaniaMod | MoreStats

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



×
×
  • Create New...

Important Information

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