Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Implement Time-Based Growth Logic for Dynamic Trees #58

Open
izharus opened this issue Dec 29, 2024 · 0 comments
Open

Suggestion: Implement Time-Based Growth Logic for Dynamic Trees #58

izharus opened this issue Dec 29, 2024 · 0 comments

Comments

@izharus
Copy link

izharus commented Dec 29, 2024

Suggestion: Implement Time-Based Growth Logic for Dynamic Trees

Dynamic Trees currently has a feature that may lead to significant gameplay issues on public servers when used alongside TerraFirmaCraft (TFC). Trees in Dynamic Trees do not grow unless the chunk they are in is loaded. In TFC, players often require large amounts of charcoal for progression, leading them to cut down increasing numbers of trees. This can cause deforestation and negatively impact server gameplay balance.

Existing solutions to this issue are somewhat "hacky" and include:

  1. Allowing players to load chunks manually.
  2. Speeding up tree growth artificially.
  3. Enabling tree growth with bonemeal (which breaks the immersion and TFC mechanics).

The current behavior also disrupts the atmosphere of TFC. It feels unnatural for trees to "require" a player's presence to grow. By contrast, in TFC, many processes (e.g., charcoal pits) are time-based and do not rely on chunk loading.

Proposed Solution

I propose implementing a time-based growth system for Dynamic Trees, similar to how TFC handles time-dependent mechanics. Here's a rough outline:

  1. When a tree grows, it "remembers" the last time it grew.
  2. If too many ticks have passed since the last growth (i.e., the chunk was unloaded for a long period), the tree should grow proportionally to the elapsed time when the player returns.

This feature would allow Dynamic Trees to integrate more seamlessly with TFC gameplay while maintaining immersion and reducing the impact on server resources.

Potential Benefits

  • Trees would grow naturally even when chunks are unloaded.
  • Players would not need to stand near trees or artificially load chunks.
  • Server performance and gameplay experience would improve without compromising TFC’s mechanics.

Is there any chance we could see this feature added to Dynamic Trees in the future? If this idea aligns with the goals of the mod, I’d be happy to assist in drafting a more detailed proposal or discussing potential implementation strategies.

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

No branches or pull requests

1 participant