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

minecraft:scale_by_age

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

Overview

minecraft:scale_by_age is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Grows the entity smoothly from a small size to a bigger one as a baby ages.

Fields

FieldTypeDefaultDescription
end_scaleDecimal"1"Size when the entity is fully grown.
start_scaleDecimal"1"Size when the baby is born.

Example

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

BP/entities/<name>.json
{
  "minecraft:scale_by_age": {
    "end_scale": "1",
    "start_scale": "1"
  }
}

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