[SPIGOT-1988] Add API to generate Chorus Plants Created: 19/Mar/16  Updated: 20/Mar/16  Resolved: 20/Mar/16

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: minoneer Assignee: Unassigned
Resolution: Fixed Votes: 2
Labels: 1.9,, chorus, end, generation, plants


 Description   

The Addition of a method to easily generate new Chorus Plants would be nice, just like generating a huge mushroom or tree.

My first thought was to add it as a new tree type. However, there is no WorldGenChorusPlant or similar, as with all other plant types. In world generation, the BlockChorusFlower.a(World, BlockPosition, Random, int) method is called. Since adding this to CraftWorld.generateTree() would be a bit awkward, I'm not sure if this is the best solution.

Any thoughts?



 Comments   
Comment by minoneer [ 20/Mar/16 ]

Great, thanks

Comment by md_5 [ 20/Mar/16 ]

Added as a tree type - seems like the best solution

Generated at Tue Apr 08 02:45:51 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.