#MCPets API

1 messages · Page 1 of 1 (latest)

ionic jacinth
#

McPets does not have an api but it is open sourced

teal adder
#

Yes i saw that but id rather wait for the developer to answer this simple question instead of trying to look for the correct method searching the whole source code myself :)

cedar kindle
teal adder
#

If I can just get Pet instance from an entity all my problems are solved :P

cedar kindle
#

ObjectPet method returns a pet object, not an instance of a pet as stated. The id to provide is the pet corresponding id (refer pet class to understand what the id is, it's not an entity id)

#

You can use the Pet.fromEntity I believe for your situation