minecraft:tamemount
Allows entities to flock in groups in water or not.
Properties
| Property | Type | Default | What it does |
|---|---|---|---|
min_temper | Integer | 0 | The minimum value for the entity's random starting temper. |
max_temper | Integer | 100 | The maximum value for the entity's random starting temper. |
feed_text | Text | "" | The text that shows in the feeding interact button. |
ride_text | Text | "" | The text that shows in the riding interact button. |
tame_event | Object | {"event": "", "filters": {"AND": null, "NOT": null, "OR":… | Event that triggers when the entity becomes tamed. |
event | Text | "" | |
target | Textself, other, player, target, parent, baby, block, damager, holder, item | "self" | |
filters | Object or List of object | {"AND": null, "NOT": null, "OR": null, "all": null, "all_… | Filters allow data objects to specify test criteria which allows their use. Filters can be defined by a single object of type (Filter Test), an array of tests, collection groups, or a combination of these objects. |
test | Text | — | The name of the test to apply. |
subject | Boolean or Integer or Decimal or Text | — | The subject of this filter test. |
operator | Boolean or Integer or Decimal or Text | — | The comparison to apply with 'value'. |
domain | Boolean or Integer or Decimal or Text | — | The domain the test should be performed in. |
value | Boolean or Integer or Decimal or Text | — | The value being compared with the test. |
attempt_temper_mod | Integer | 5 | The amount the entity's temper will increase when mounted. |
feed_items | List of object | [] | The list of items that can be used to increase the entity's temper and speed up the taming process. |
item | Text or Object | — | Name of the item this entity likes and can be used to increase this entity's temper. |
temper_mod | Integer | 0 | The amount of temper this entity gains when fed this item. |
auto_reject_items | List of object | [] | The list of items that, if carried while interacting with the entity, will anger it. |
item | Text or Object | — | Name of the item this entity dislikes and will cause it to get angry if used while untamed. |
Example from the game files
This is how vanilla Donkey uses it in Minecraft Bedrock 1.26.60.5:
{
"minecraft:tamemount": {
"min_temper": 0,
"max_temper": 100,
"feed_text": "action.interact.feed",
"ride_text": "action.interact.mount",
"feed_items": [
{
"item": "wheat",
"temper_mod": 3
},
{
"item": "sugar",
"temper_mod": 3
},
{
"item": "apple",
"temper_mod": 3
},
{
"item": "carrot",
"temper_mod": 3
},
{
"item": "golden_carrot",
"temper_mod": 5
},
{
"item": "golden_apple",
"temper_mod": 10
},
{
"item": "appleEnchanted",
"temper_mod": 10
}
],
"auto_reject_items": [
{
"item": "horsearmorleather"
},
{
"item": "horsearmoriron"
},
{
"item": "horsearmorgold"
},
{
"item": "horsearmordiamond"
},
{
"item": "minecraft:copper_horse_armor"
},
{
"item": "minecraft:netherite_horse_armor"
},
{
"item": "saddle"
}
],
"tame_event": {
"event": "minecraft:on_tame",
"target": "self"
}
}
}Used by 6
Vanilla entities with minecraft:tamemount in their definition: