minecraft:ageable

Dynamic value

Properties

This component has no properties in the official schema: add it as an empty object {} to switch the behaviour on.

Example from the game files

This is how vanilla Nautilus uses it in Minecraft Bedrock 1.26.60.5:

{
  "minecraft:ageable": {
    "duration": 1200,
    "feed_items": [
      {
        "item": "pufferfish_bucket",
        "result_item": "water_bucket:0"
      },
      {
        "item": "cod_bucket",
        "result_item": "water_bucket:0"
      },
      {
        "item": "salmon_bucket",
        "result_item": "water_bucket:0"
      },
      {
        "item": "tropical_fish_bucket",
        "result_item": "water_bucket:0"
      },
      "pufferfish",
      "fish",
      "salmon",
      "clownfish",
      "cooked_fish",
      "cooked_salmon"
    ],
    "pause_growth_items": [
      "golden_dandelion"
    ],
    "reset_growth_items": [
      "golden_dandelion"
    ],
    "grow_up": {
      "event": "minecraft:ageable_grow_up",
      "target": "self"
    }
  }
}

Used by 35

Vanilla entities with minecraft:ageable in their definition:

Related components