minecraft:scale_by_age for you with a switch.Get GodCraftOverview
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
| Field | Type | Default | Description |
|---|---|---|---|
end_scale | Decimal | "1" | Size when the entity is fully grown. |
start_scale | Decimal | "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"
}
}