1. Wiki
  2. /Entities
  3. /minecraft:tameable

minecraft:tameable

Don't want to write this by hand? GodCraft sets minecraft:tameable for you with a switch.Get GodCraft

Overview

minecraft:tameable is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Lets players tame the mob by giving it certain items. Pair the tame event with components like is_tamed or sittable.

Fields

FieldTypeDefaultDescription
probabilityDecimal"1"Chance of taming on each item use, from 0.0 to 1.0 (1.0 always works).
tame_eventStringnoneEvent to run when the mob becomes tamed.
tame_itemsListnoneItems players can use to tame the mob.

Example

Inside the components object of BP/entities/<name>.json (values are the defaults or placeholders):

BP/entities/<name>.json
{
  "minecraft:tameable": {
    "probability": "1",
    "tame_event": "",
    "tame_items": {}
  }
}

We use cookies to improve your experience and analyse site traffic. Learn more