pet

public PetControl pet(Entity entity)

The pet behind a body, or null when the entity is not a live pet.