Herobrine API

Get Help with Using Herobrine
Post Reply
rocologo
Posts: 2
Joined: Mon Aug 28, 2017 7:04 pm

Herobrine API

Post by rocologo » Mon Aug 28, 2017 7:15 pm

Hi David

I would like to hook into Herobrine so that the player can detect when a player kills one of the three npc's or Herobrine himself.

I need two methods to do so:

1) public static boolean isHerobrine(Entity entity) which returns true if the entity is Herobrine or one of your npc's

2) public static string getHerobrineType(Entity entity) which returns a string with the name / type of the killed entity (This could also be an enum if you prefer that?)

Im allready able to hook into your plugin and I can get your getEntitiManager(), and the getNPCCore(). I have found getEntityManger().isCustomMob(int) but I have not been able to detect when the killed entity is one of your mobs ?

I hope you will help me?

User avatar
David B
Site Admin
Posts: 63
Joined: Mon Aug 07, 2017 11:19 pm

Re: Herobrine API

Post by David B » Mon Aug 28, 2017 9:29 pm

Hello rocologo,

An API for Herobrine is a great idea. It's something that I should have done a long time ago, but never got around to actually doing. I am very busy during the week with school work, but I can look at implementing your request this weekend. To make it easier for me to do, could you provide me with information about your plugin? Is it available for download somewhere, or can I compile it myself from the source? If you do not want to share this information publicly, please private message me, and we can continue this conversation.

~ David

rocologo
Posts: 2
Joined: Mon Aug 28, 2017 7:04 pm

Re: Herobrine API

Post by rocologo » Wed Aug 30, 2017 7:41 pm

I have send you a PM.

/Rocologo

Post Reply