minecraft:strength for you with a switch.Get GodCraftOverview
minecraft:strength is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Sets how strong the entity is, which decides how many items it can carry, like a llama's chest size.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
max | Integer | "5" | The highest strength this entity can have. |
value | Integer | "1" | The strength the entity starts with. |
Example
Inside the components object of BP/entities/<name>.json (values are the defaults or placeholders):
BP/entities/<name>.json
{
"minecraft:strength": {
"max": "5",
"value": "1"
}
}