I am trying to access events like PetDamageEvent, PetDamagedEvent and PetDamagedEventByEntity however they are not being triggered. I have a sout but it doesn't show anything in console. I tried PetSpawnEvent and it works normally just not the damage one. I am trying to cancel fall damage and apply it to players instead. I have placed MCPets jar in my lib to access in IDE and I have MCPets running on server as well.
#MCPets events
1 messages · Page 1 of 1 (latest)
Hey, I am not sure about it, as I am not a plugin dev, but it could be that this is handled by the MythicMobs API. Iirc MCPets only handles the pet functionalities, and relies on MythicMobs and Modelengine for the core functions.
@grave orbit could tell you if I am right :P
Well I saw the source and it calls the event in entity damage but I fixed my issue by checking for pets in entity damage event instead of pet damaged event