Shift down mode doesnt seem to be working
Closed this issue ยท 4 comments
Describe the bug
Instead of shifting down the logs, they just break like normal and don't get replaced.
https://imgur.com/a/Chy9vz1
Minecraft version
1.21.5
Fabric API version
fabric-api-0.119.9+1.21.5
Mod version
FallingTree-1.21.5-1.21.5.2
Configuration
{
"trees": {
"allowedLogs": [],
"deniedLogs": [],
"allowedLeaves": [],
"allowedNonDecayLeaves": [],
"deniedLeaves": [],
"breakMode": "SHIFT_DOWN",
"detectionMode": "ABOVE_Y",
"maxScanSize": 150,
"maxSize": 150,
"maxLeafDistanceFromLog": 15,
"maxSizeAction": "ABORT",
"breakOrder": "FURTHEST_FIRST",
"minimumLeavesAroundRequired": 1,
"includePersistentLeavesInRequiredCount": true,
"treeBreaking": false,
"leavesBreaking": false,
"leavesBreakingForceRadius": 0,
"allowMixedLogs": false,
"breakNetherTreeWarts": false,
"breakMangroveRoots": false,
"searchAreaRadius": -1,
"allowedAdjacentBlocks": [],
"adjacentStopMode": "STOP_BRANCH",
"spawnItemsAtBreakPoint": false
},
"tools": {
"allowed": [],
"denied": [],
"durabilityMode": "NORMAL",
"ignoreTools": true,
"damageMultiplicand": 1.0,
"damageRounding": "ROUND_DOWN",
"speedMultiplicand": 0.0,
"forceToolUsage": false
},
"player": {
"allowedTags": []
},
"enchantment": {
"requireEnchantment": false
},
"sneakMode": "SNEAK_ENABLE",
"breakInCreative": true,
"lootInCreative": true,
"notificationMode": "NONE"
}Relevant log output
Im having the same issue. Have you found a fix for it? I tried everything i could
Same here; came to report it. But then I got a crash and started changing my versions around and config settings to fix the crash. After I got the latest version of the mod and found a workaround for my crash, this feature started working for me. At least on 1.21.5.4
Here is my config. I thought maybe I needed to set CLOSEST_FIRST, but then I changed it back to FURTHEST_FIRST and it was still working, so I'm not sure.
{
"trees": {
"allowedLogs": [],
"deniedLogs": [],
"allowedLeaves": [],
"allowedNonDecayLeaves": [],
"deniedLeaves": [],
"breakMode": "SHIFT_DOWN",
"detectionMode": "ABOVE_CUT",
"maxScanSize": 500,
"minSize": 0,
"maxSize": 100,
"maxLeafDistanceFromLog": 15,
"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"
}
I will make some fixes regarding some bad logic when deciding if the breaking event should be cancelled or not. We'll see if this fixes the issue or not, but from my testing, the shift down mode works again. If it doesn't, reopen the issue later (when the new version will be released : 1.21.5.5).
@tinobe3 Regarding your config, you have "treeBreaking": false,, so the mod will never activate.