Skip to content
Permalink
Browse files
Update tree_grow event documentation (#1211)
Document missing keys.
  • Loading branch information
Pieter12345 committed Jun 16, 2020
1 parent 7afbf9d commit 11c491817b8e14b626a0a6a52a378b8307fdf021
Showing 1 changed file with 7 additions and 2 deletions.
@@ -208,8 +208,13 @@ public Driver driver() {
public String docs() {
return "{world: <macro> | player: <macro> | type: <macro> | bonemeal: <boolean match>}"
+ "Fires when a tree grows."
+ "{world: The world where the tree grown. | type: The tree type, can be one of " + StringUtils.Join(MCTreeType.values(), ", ", ", or ", " or ")
+ " | bonemeal: If the tree grown due to a bonemeal or not. | player: The player who used the bonemeal, or null.}"
+ "{world: The world in which the tree has grown."
+ " | type: The tree type, can be one of "
+ StringUtils.Join(MCTreeType.values(), ", ", ", or ", " or ")
+ " | blocks: An array containing all locations of grown blocks."
+ " | location: The location of the sapling."
+ " | bonemeal: If the tree has grown due to a bonemeal or not."
+ " | player: The player who used the bonemeal, or null if no bonemeal was used.}"
+ "{}"
+ "{}";
}

0 comments on commit 11c4918

Please sign in to comment.