Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This entity can be tamed.
Note
From 1.21.130, each entry in tame_items accepts an optional result_item field. On a successful tame interaction, the consumed item is replaced in the player's inventory with the specified item.
Tameable Properties
| Name | Default Value | Type | Description | Example Values |
|---|---|---|---|---|
| probability | 1 | Decimal number | The chance of taming the entity with each item use between 0.0 and 1.0, where 1.0 is 100% | Parrot: 0.33 |
| tame_event | not set | Object | Event to fire when the entity is tamed. Can be an object with event and target properties, or a simple event string. | Parrot: {"event":"minecraft:on_tame","target":"self"} |
| tame_event (as String) | not set | String | ||
| tame_items | not set | Array of strings | The list of items that can be used to tame this entity | Parrot: ["wheat_seeds","pumpkin_seeds","melon_seeds","beetroot_seeds","pitcher_pod","torchflower_seeds"] |
| tameItems | not set | String |
Samples
Parrot
"minecraft:tameable": {
"probability": 0.33,
"tame_items": [
"wheat_seeds",
"pumpkin_seeds",
"melon_seeds",
"beetroot_seeds",
"pitcher_pod",
"torchflower_seeds"
],
"tame_event": {
"event": "minecraft:on_tame",
"target": "self"
}
}