| Name | block grows |
| Event Lines | <block> grows |
| Triggers | when a block grows naturally in the world, EG, when wheat, sugar canes, cacti, watermelons or pumpkins grow. |
| Generated Examples | on dead_horn_coral grows:
after stripped_dark_oak_wood grows: |
| Switches | from:<age> to only process the event if the material started at a specific age.
to:<age> to only process the event if the material ended at a specific age. |
| Contexts | <context.location> returns the LocationTag of the block that grew (still at original material state when event fires).
<context.material> returns the MaterialTag of the block's newly grown state.
|
| Cancellable | True - This adds <context.cancelled> and determine 'cancelled' or 'cancelled:false' |
| Has Location | True - This adds the switches 'in:<area>', 'location_flagged:<flag>', ... |
| Group | Block |
| Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/events/block/BlockGrowsScriptEvent.java#L15 |