Skip to content

Conversation

me4502
Copy link
Member

@me4502 me4502 commented Aug 30, 2025

This PR swaps the current tree implementation to using its own registry based on PlacedFeature, and directly exposing that via commands rather than using WorldEdit's internal tree type system. This has better mod compatibility, automatically supports new trees, and in general is better at tree generation.

Due to recent changes in MC this has become more feasible, although it does appear more restrictive than prior tree generation. Given most people want the tree commands to generate sensible trees, it makes sense to move the trees to this new system IMO, and allow the existing feature generation commands to be used for the less restrictive tree generation.

Not all existing API trees can be perfectly replicated with the new system in MC, such as giant mushroom trees. These must be generated via the feature generators instead.

  • Fabric
  • NeoForge
  • Bukkit

Works around #2008

@me4502 me4502 marked this pull request as ready for review August 30, 2025 07:20
@me4502 me4502 requested a review from a team as a code owner August 30, 2025 07:20
@me4502 me4502 added this to the 7.4.0 milestone Aug 30, 2025
@me4502 me4502 force-pushed the feature/use-features-for-trees branch from 84f7d5b to 9b72701 Compare September 7, 2025 05:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant