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

minecraft:grows_crop

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

Overview

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

FieldTypeDefaultDescription
chargesinteger10How many times it can boost a crop.
chancenumber0Chance 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
  }
}

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