Jump to content

[1.7.10+] EntityMounted and EntityDismounted events.


Recommended Posts

Posted

Hello everyone,

 

What do you think about adding EntityMounted and EntityDismounted events? They would contain entityMounting and entityMounted objects, and if it's canceled, the entity would not be mounted/dismounted. It may not see too much use, but it could be useful at times. For example, in my mod, I call player.setInvisible(true) when I mount a specific entity, and player.setInvisible(false) when he dismounts it. Instead of having to override the methods in EntityLivingBase, those two events could be used. Feedback?

 

Thanks for reading!

~Geforce

 

 

Potato's have skin. I have skin. Therefore, i am a potato.

 

Follow me on Twitter!

http://www.twitter.com/I_Mod_Minecraft

  • 4 weeks later...
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.