Skip to content

Commit 9857430

Browse files
committed
Add JavaDoc to EditSession#makeBiomeShape
1 parent b14a208 commit 9857430

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

worldedit-core/src/main/java/com/sk89q/worldedit/EditSession.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2888,6 +2888,18 @@ public int makeBiomeShape(final Region region, final Vector3 zero, final Vector3
28882888
return makeBiomeShape(region, new ScaleAndTranslateTransform(zero, unit), biomeType, expressionString, hollow, timeout);
28892889
}
28902890

2891+
/**
2892+
* Generate a biome shape for the given expression.
2893+
*
2894+
* @param region the region to generate the shape in
2895+
* @param transform the transformation for x/y/z variables
2896+
* @param biomeType the biome to make the shape from
2897+
* @param expressionString the expression defining the shape
2898+
* @param hollow whether the shape should be hollow
2899+
* @param timeout
2900+
* @return number of blocks changed
2901+
* @throws ExpressionException if there is a problem with the expression
2902+
*/
28912903
public int makeBiomeShape(final Region region, Transform transform, final BiomeType biomeType,
28922904
final String expressionString, final boolean hollow, final int timeout) throws ExpressionException {
28932905

0 commit comments

Comments
 (0)