Added support for new tree types to TreeGenerator and make adding more tree types later easier

This commit is contained in:
zml2008
2012-03-17 15:24:30 -07:00
parent 7f7178957a
commit b6d1146427
8 changed files with 253 additions and 177 deletions

View File

@ -789,7 +789,7 @@ public class EditSession {
final PlayerDirection attachment = BlockType.getAttachment(type, data);
if (attachment == null) {
// Block is not attached to anything => we can place it
// Block is not attached to anything => we can place it
break;
}
@ -2787,8 +2787,8 @@ public class EditSession {
*
* @param region the region to hollow out.
* @param thickness the thickness of the shell to leave (manhattan distance)
* @param patternThe block pattern to use
*
* @param pattern The block pattern to use
*
* @return number of blocks affected
* @throws MaxChangedBlocksException
*/