FallingTree

FallingTree

39M Downloads

Mangrove Roots Aren't Disappearing

Olifree opened this issue ยท 3 comments

commented

Describe the bug

When I try to chop a mangrove, it won't get rid of the roots. Sometimes roots fall and I think it's because they're at or above the level of the lowest log, but I have it set to cut the whole tree and not just above the trunk. I'm new at modding so I'm sure it's something wrong that I did in the configuration file so I really appreciate the help.

Minecraft version

1.21.4

Fabric API version

1.21.4-forge-54.1.0

Mod version

1.21.4-1.21.4.7

Configuration

{
  "trees": {
    "allowedLogs": [],
    "deniedLogs": [],
    "allowedLeaves": [],
    "allowedNonDecayLeaves": [],
    "deniedLeaves": [],
    "breakMode": "SHIFT_DOWN",
    "detectionMode": "WHOLE_TREE",
    "maxScanSize": 600,
    "maxSize": 120,
    "maxLeafDistanceFromLog": 40,
    "maxSizeAction": "ABORT",
    "breakOrder": "FURTHEST_FIRST",
    "minimumLeavesAroundRequired": 1,
    "includePersistentLeavesInRequiredCount": true,
    "treeBreaking": true,
    "leavesBreaking": true,
    "leavesBreakingForceRadius": 0,
    "allowMixedLogs": false,
    "breakNetherTreeWarts": true,
    "breakMangroveRoots": true,
    "searchAreaRadius": -1,
    "allowedAdjacentBlocks": [],
    "adjacentStopMode": "STOP_ALL",
    "spawnItemsAtBreakPoint": false
  },
  "tools": {
    "allowed": [],
    "denied": [],
    "durabilityMode": "NORMAL",
    "ignoreTools": false,
    "damageMultiplicand": 1.0,
    "damageRounding": "ROUND_DOWN",
    "speedMultiplicand": 0.0,
    "forceToolUsage": false
  },
  "player": {
    "allowedTags": []
  },
  "enchantment": {
    "requireEnchantment": false
  },
  "sneakMode": "SNEAK_DISABLE",
  "breakInCreative": false,
  "lootInCreative": true,
  "notificationMode": "ACTION_BAR"
}

Relevant log output

commented

Can you try this build and see if it works : https://github.com/RakambdaOrg/FallingTree/actions/runs/14054592041

Image
(you'll need to unzip it to get the mod)

Mangrove roots should now behave the same as nether warts and get broken in shiftdown mode then the breakMangroveRoots setting is enabled.

commented

I downloaded the file, unzipped it, and put the contents into the Minecraft mods folder. Upon launch, I get this message: mod FallingTree-1.21.4-cf2432d.jar is not a valid mod file. Thank you for your help

commented

This has been released as 1.21.4.8, you can get it from the usual way from curse/modrinth if it seems easier for you.