This PR is the successor to #136 and fixes a variety of issues with the extractor machine.
Please note that this PR includes changes from #137, as I needed them in order to debug the mod.
The following issues with the extractor machine have been fixed:
Converts machine ticks to NBT instead of a static field
The implication of the previous behaviour meant that every single extractor machine in the world would reference the same counter, meaning that only one extractor machine in the world would actually work, but it would work faster depending on how many other extractor machines were placed
For example, if 360 extractor machines were placed, only one of them would work but it would operate every single tick
No longer prematurely returns upon finding a tree that is too short (now continues to search in other directions)
Proper height check utilizing the top and bottom positions of the tree (no longer dependent on where the extractor is placed)
Adds north/south coordinates to the leaf check, for a full 5x5x5 area (as opposed to the previous 5x5x1 area)
This PR is the successor to #136 and fixes a variety of issues with the extractor machine.
Please note that this PR includes changes from #137, as I needed them in order to debug the mod.
The following issues with the extractor machine have been fixed: