-
-
Save yanickrochon/b59c03ac9c6ce2fdcbba to your computer and use it in GitHub Desktop.
World Edit plant command draft
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Draft of the new command syntax |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
plant <areatype> <plants>
: plant vegetations (trees, flowers, etc.).<areatype>
may be one of the following :single
plant a single plant right in front of the character.line <distance> <count>
plant in a straight line to the nearest axis, up todistance
blocks. The valuecount
may be an absolute value or a percentage of the totaldistance
.free <distance> <count>
plant in the direction the character is facing, wheredistance
andcount
are the same as for the above.rect <ns> <ew> <count> [-e]
plant in a rectangle around the character (character at the very center of the area). Bothns
andew
are mandatory and determine the total width of each side. The amount of vegetation planted is determined bycount
and may be an absolute value or a percentage of the rectangle area. Use the optional-e
flag to plant at the edge of the area only, andcount
will be the perimeter instead of the area.circle <diameter> <count> [-e]
plant in a circle with the specifieddiameter
around the character (character at the very center of the area). The amount of vegetation planted is determined bycount
and may be an absolute value or a percentage of the circle area. Use the-e
flag to plant at the edge of the area only, andcount
will be based on the circonference instead of the area.<plants>
is a space delimited list of plants ids to plant. To specify a range of plants, use..
between two numbers (no space). For example1 2 3 4 7 9 10 11 12
is the same as1..4 7 9..12
.Ex:
/we plant single 13..27
plant a single random flowerEx:
/we plant line 10 10 29
plant 10 trees at random on a single straight line of 10 blocks long, on the nearest axis, in front of the characterEx:
/we plant free 10 50% 6
plant 5 pine trees (50% of 10) at random on a single straight line, 10 blocks long, facing and in front of the character.Ex:
/we plant rect 30 10 100 2..4 6 7 -p
plant 100 trees at random around a perimeter of a rectangle of 30 blocks (north-south) by 10 blocks (east-west)Ex:
/we plant circle 20 30% 2 3 4
plant maple trees in a circle area with a diameter of 20 blocks filling it at 30%