FallingTree

FallingTree

28M Downloads

Won't work on dark oak/large spruce

imagelesskink opened this issue ยท 1 comments

commented

Describe the bug

When trying to cut down dark oak or large spruce, only one log is cut, even though the time it takes to cut increased as if it was trying to cut the whole tree. Cutting oak trees placed side by side so the logs are touching works fine.

Minecraft version

1.20.2

Fabric API version

0.90.4

Mod version

5.0.3

Configuration

{
  "trees": {
    "allowedLogs": [],
    "deniedLogs": [],
    "allowedLeaves": [],
    "allowedNonDecayLeaves": [],
    "deniedLeaves": [],
    "breakMode": "FALL_BLOCK",
    "detectionMode": "ABOVE_CUT",
    "maxScanSize": 500,
    "maxSize": 200,
    "maxSizeAction": "ABORT",
    "breakOrder": "LOWEST_FIRST",
    "minimumLeavesAroundRequired": 5,
    "includePersistentLeavesInRequiredCount": true,
    "treeBreaking": true,
    "leavesBreaking": true,
    "leavesBreakingForceRadius": 0,
    "allowMixedLogs": false,
    "breakNetherTreeWarts": true,
    "breakMangroveRoots": true,
    "searchAreaRadius": -1,
    "allowedAdjacentBlocks": [],
    "adjacentStopMode": "STOP_ALL"
  },
  "tools": {
    "allowed": [],
    "denied": [],
    "preserve": false,
    "ignoreTools": false,
    "damageMultiplicand": 0.5,
    "damageRounding": "ROUND_DOWN",
    "speedMultiplicand": 0.5,
    "forceToolUsage": false
  },
  "player": {
    "allowedTags": []
  },
  "enchantment": {
    "registerEnchant": false,
    "registerSpecificEnchant": false,
    "hideEnchant": false,
    "requireEnchantment": false
  },
  "sneakMode": "SNEAK_DISABLE",
  "breakInCreative": false,
  "lootInCreative": true,
  "notificationMode": "ACTION_BAR"
}

Relevant log output

No response

commented

I guess it has to do with "minimumLeavesAroundRequired": 5,.
For large trees with a trunk that is 2x2, they don't have a configuration where 5 leaves would be around the top most log, only 3 would.

Here's an example from the top view. A = air, L = leaf, W = wood/log.

Case with a 1x1 trunk:

ALA
LWL
ALA

So that's 4 + 1 on top of the log.

Case with a 1x1 trunk:

ALLA
LWWL
LWWL
ALLA

So taking any log, they have 2 + 1 on top of the log.