On Grow (Event) — Skript
Addon: Skript · Category: Event · Since: 1.0, 2.2-dev20 (plants), 2.8.0 (from, into, blockdata)
Syntax
[on] grow[th] [of (%-structuretypes%|%-itemtypes/blockdatas%)]Description
Called when a tree, giant mushroom or plant grows to next stage. "of" matches any grow event, "from" matches only the old state, "into" matches only the new state,and "from into" requires matching both the old and new states. Using "and" lists in this event is equivalent to using "or" lists. The event will trigger if any one of the elements is what grew.
Event Values
- event-block
- event-location
- event-object
- event-world
- future event-block
- future event-object
- past event-block
Examples
on grow:
on grow of tree:
on grow of wheat[age=7]:
on grow from a sapling:
on grow into tree:
on grow from a sapling into tree:
on grow of wheat, carrots, or potatoes:
on grow into tree, giant mushroom, cactus:
on grow from wheat[age=0] to wheat[age=1] or wheat[age=2]: