minecraft:tamemount

Allows entities to flock in groups in water or not.

Properties

PropertyTypeDefaultWhat it does
min_temperInteger0The minimum value for the entity's random starting temper.
max_temperInteger100The maximum value for the entity's random starting temper.
feed_textText""The text that shows in the feeding interact button.
ride_textText""The text that shows in the riding interact button.
tame_eventObject{"event": "", "filters": {"AND": null, "NOT": null, "OR":…Event that triggers when the entity becomes tamed.
eventText""
targetTextself, other, player, target, parent, baby, block, damager, holder, item"self"
filtersObject 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.
testText—The name of the test to apply.
subjectBoolean or Integer or Decimal or Text—The subject of this filter test.
operatorBoolean or Integer or Decimal or Text—The comparison to apply with 'value'.
domainBoolean or Integer or Decimal or Text—The domain the test should be performed in.
valueBoolean or Integer or Decimal or Text—The value being compared with the test.
attempt_temper_modInteger5The amount the entity's temper will increase when mounted.
feed_itemsList of object[]The list of items that can be used to increase the entity's temper and speed up the taming process.
itemText or Object—Name of the item this entity likes and can be used to increase this entity's temper.
temper_modInteger0The amount of temper this entity gains when fed this item.
auto_reject_itemsList of object[]The list of items that, if carried while interacting with the entity, will anger it.
itemText 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:

Related components