Content: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Background: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Pattern: Blank Waves Notes Sharp Wood Rockface Leather Honey Vertical Triangles
Welcome to TerraFirmaCraft Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • Dries007

      ATTENTION Forum Database Breach   03/04/2019

      There has been a breach of our database. Please make sure you change your password (use a password manager, like Lastpass).
      If you used this password anywhere else, change that too! The passwords themselves are stored hashed, but may old accounts still had old, insecure (by today's standards) hashes from back when they where created. This means they can be "cracked" more easily. Other leaked information includes: email, IP, account name.
      I'm trying my best to find out more and keep everyone up to date. Discord ( is the best option for up to date news and questions. I'm sorry for this, but the damage has been done. All I can do is try to make sure it doesn't happen again.
    • Claycorp

      This forum is now READ ONLY!   01/20/2020

      As of this post and forever into the future this forum has been put into READ ONLY MODE. There will be no new posts! A replacement is coming SoonTM . If you wish to stay up-to-date on whats going on or post your content. Please use the Discord or Sub-Reddit until the new forums are running.

      Any questions or comments can be directed to Claycorp on either platform.
Sign in to follow this  
Followers 0

improvement Leaf decay mechanics

3 posts in this topic

Currently it looks like leaf fast-decay if
1) they're get notified;
2) they aren't supported by a thunk.

Notification seems to spread up and aside.

This leads to situations where
1) part of the leaf mass becomes supported from neighbor tree;
2) low-hanging leaves (ivory) become not notified.

I propose the next:
1) add numeric (3-5 byte) tag to the tree and the leaf;
2) randomly assign that tag to the trees (the same to each thunk block and leaf block of the same tree);
3) notify not only 5 (thunk) or 6 (leaf) neighbor blocks, but more (+1 layer), spread if notifying leaf or thunk block;
4) thunk can notify thunk and leaf, leaf could only notify leaf;
5) for each thunk/leaf notified - drop if number equal to the number of the block harvested initially and the tree species are the same.

This should improve the tree falling.

I will try to implement that algorithm on holidays. I assume, it should work in small bursts for each tick, until the moment when no new block has been marked?

P.S.: By the way, Bioxx, are you using queues/sets to determine what block to notify/already notified while falling a tree?

P.P.S.: I'll try some assignment schema (random assignment, tag = ((origin.x % 4) << 2) + origin.z % x)

P.P.P.S.: Or we can allow thunk blocks notify in -Y, but not lower than harvested block.

Edited by hindmost

Share this post

Link to post
Share on other sites

There is no metadata room to store any extra data on trees sadly. I'll attempt to rework the tree scanner in the future when it is a higher priority.


Share this post

Link to post
Share on other sites
Sign in to follow this  
Followers 0