# How to get a pet

There are three simple steps on your way to get a pet.

## Step 1 - Find the mob you want

Find a mob that is tameable is the easiest step. All tamable mobtypes can be found [here](https://github.com/xXKeyleXx/MyPet-Wiki/tree/07680434e1278c970819d5e9518888598106688b/pages/tutorials/mobtypes/README.md) (This may vary for your server as each type can be enabled/disabled with permissions).

## Step 2 - Meeting the Requirements

This can be the hardest part but how hard it really will depends on the configuration of the Server. Every pet-Type has a setting called [LeashFlags](https://github.com/xXKeyleXx/MyPet-Wiki/tree/07680434e1278c970819d5e9518888598106688b/leashflag/README.md) that sets the requirements needed for the pet-Type to become a pet.

## Step 3 - Taking mob on a lead

When Step 1 & 2 are done you just have to hit you target with the LeashItem (String by default). After hiting your target it will convert from a normal mob into a pet and you will see a message like this:

You took a pet on a lead, it will be a good pet.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.mypet-plugin.de/legacy/tutorials/how_to_get_a_mypet.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
