[1.17] TreeGravity - Tree Feller icon

[1.17] TreeGravity - Tree Feller -----

Chop entire trees down with just one swing!



[4.2.0] Log Pile Method, Leaf Decay, config.yml changes, additional structure protection
[4.2.0] Log Pile Method, Leaf Decay, config.yml changes, additional structure protection

Summary:
  • Added new Log Pile Method (tgType = 5). It makes the tree’s logs fall in a pile similar to other gravity methods.
  • Added LeafDecay for Lumberjack methods. Will make leaves in the general area of the tree quickly dissipate. Can change the radius of leaves that decay, and the speed at which they decay.
  • Increased built in structure protection to check for “natural” blocks beneath potential trees, cannot be turned off in config as it’s baked into the plugin.
  • There are 6 new Config Settings:
    • Treegravity.Other.pilespread (integer values 0,1,2,3,4,5,6)
    • Treegravity.Lumberjack.LeafDecay.enabled (Boolean values true/false)
    • Treegravity.Lumberjack.LeafDecay.speed (integer values 1,2,3,4)
    • Treegravity.Lumberjack.LeafDecay.radius (integer values 1,2,3,4)
    • OreSweeper now has its own config seciton, the new config variables are as follows:
      • Treegravity.OreSweeper.enabled (Boolean values true/false)
      • Treegravity.OreSweeper.pickaxesAllowed (string list, values are pickaxe item IDs)
    • **As the config.yml got a slight makeover, I highly suggest you save your old config.yml elsewhere, delete it in your plugins>treegravity folder, and then update the new config.yml with your server's custom settings**


New Features:

Log Pile Method (tgType=5) – When a tree is chopped down, the logs on the tree fall in a pile. See below for the applicable config variable “pileSpread”, which sets how spread out the logs are when they fall in a pile. You can set this method by “/tgconfig set type 5”. Also, can set the spread by “/tgconfig set pilespread [0,1,2,3,4,5,6]. All issues aforementioned with jungle trees, large trees, vines, etc. should be solved. The biggest issue now is when multiple trees are cut down at the same time, one of them only drops a few logs. Due to my limited ability to test the plugin, I cannot truly tell how big a problem this is, please let me know if you run into any issues ASAP.

Leaf Decay – Will make leaves in proximity of the tree chopped down decay quickly, so that you don’t need to wait 3-7 minutes for all leaves to decay on their own. See config variables below for the speed and radius at which leaves decay. Speed meaning how fast the leaves decay, 4 is fast and 1 is slow. Radius meaning how wide the area around the tree is that searches for leaves. 1 is a small area and 4 is a large area. I suggest keeping leafDecay.radius at 1 or 2 as any higher than that, and surrounding trees might be adversely affected.

Additional structure protection – checks for “natural” blocks beneath potential trees (“natural” blocks being dirt/grass/grass path/farmland/podzol/mycelium/coarse dirt). Thus, if you ever have any problems with houses getting chopped down, simply replace dirt/grass/etc blcoks beneath the logs on your house with cobblestone, stone, or another block I did not list above. This additional structure protection does depend on your houseProtection setting, meaning that the higher your houseProtection is, the more strict the plugin is with checking for “natural” blocks. If you have houseProtection=0, the plugin will still search for “natural” blocks, but as long as 1 of the tree’s base logs is on a “natural” block the treefeller logic will work. As I said above, this setting cannot be turned off in the config as it’s baked into the plugin, but if you set houseProtection to 0 you should barely notice this unless you’re dealing with many trees that are planted on blocks besides those I listed above (e.g. floating trees, trees planted ON water, etc.).​



New Config Variables:

pileSpread – Works with the new LogPile method. Values 0,1,2,3,4,5,6 will work, and the settings work like you think they would. For example, pileSpread=0 will give you the closest pile grouping, while pileSpread=6 will make the pile of logs more spread out.

LeafDecay.enabled– Whether leafDecay is turned on or off. Set to true or false.

LeafDecay.speed – How fast leaves decay that are left behind from lumberjack methods. A value of 1 is slow, and 4 is fast. Valid config values are 1,2,3,4. Default is 4, the value you set is strictly preference.

LeafDecay.radius– How large the area around the tree is that is scanned for leaves. 1 is a small area, 4 is a large area around the tree. Valid config values are 1,2,3,4. Default is 2, I suggest leaving it at 2, but it’s a free country.

oreSweeper – Just changed up the config variables and section where they’re stored. Should be self-explanatory. *I haven’t added support yet for fortune or silk touch enchantments, but unbreaking should be supported.​




Thanks for your patience waiting on this update. Life, uh, got in the way. As always let me know of ANY and ALL bugs you encounter. If you have any suggestions, I'd love to add them to my to-do list. Cheers!
----------, Aug 17, 2019
Resource Information
Author:
----------
Total Downloads: 200,013
First Release: Jul 31, 2018
Last Update: Sep 25, 2021
Category: ---------------
All-Time Rating:
45 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings