First shot at implementing acacia trees

this is mostly working, but due to some issue with leaf decay, the edges of the larger canopy will decay within minutes.

I don't know why this is yet, but it's likely some incorrect implementation of Leaves causing the problem.

In addition, the secondary branch of acacia may generate next to the base block of the trunk, which I've never observed to happen in vanilla. This has a 2% chance of occurring, so I haven't been able to rule it out yet, but it probably shouldn't happen.
This commit is contained in:
Dylan K. Taylor
2023-06-10 18:35:42 +01:00
parent 1533dc4e56
commit ab75838c89
2 changed files with 134 additions and 0 deletions

View File

@ -49,6 +49,8 @@ final class TreeFactory{
}else{*/
//}
}elseif($type->equals(TreeType::ACACIA())){
return new AcaciaTree();
}
return null;
}