minecraft:grows_crop for you with a switch.Get GodCraftOverview
minecraft:grows_crop is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Gives the entity a chance to help crops grow as it moves over them, like bees with pollen.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
charges | integer | 10 | How many times it can boost a crop. |
chance | number | 0 | Chance from 0 to 1 each tick to boost a crop. |
Example
Inside the components object of BP/entities/<name>.json (values are the defaults or placeholders):
BP/entities/<name>.json
{
"minecraft:grows_crop": {
"charges": 10,
"chance": 0
}
}