Some config parameters doesn't work
Disketaa opened this issue · 2 comments
Describe the bug
Greetings! I found that some of the config parameters doesn't change anything at all.
Here's the config:
{
"trees": {
"allowedLogs": [],
"deniedLogs": [],
"allowedLeaves": [],
"allowedNonDecayLeaves": [],
"deniedLeaves": [],
"breakMode": "INSTANTANEOUS",
"detectionMode": "ABOVE_CUT",
"maxScanSize": 500,
"maxSize": 50,
"maxSizeAction": "CUT",
"breakOrder": "CLOSEST_FIRST",
"minimumLeavesAroundRequired": 1,
"includePersistentLeavesInRequiredCount": true,
"treeBreaking": true,
"leavesBreaking": true,
"leavesBreakingForceRadius": 0,
"allowMixedLogs": false,
"breakNetherTreeWarts": true,
"instantlyBreakWarts": false,
"breakMangroveRoots": true,
"searchAreaRadius": -1,
"allowedAdjacentBlocks": [],
"adjacentStopMode": "STOP_ALL"
},
"tools": {
"allowed": [],
"denied": [],
"preserve": false,
"ignoreTools": false,
"damageMultiplicand": 1.25,
"damageRounding": "ROUND_DOWN",
"speedMultiplicand": 0.75,
"forceToolUsage": false
},
"player": {
"allowedTags": []
},
"enchantment": {
"registerEnchant": false,
"registerSpecificEnchant": false,
"hideEnchant": false
},
"sneakMode": "IGNORE",
"breakInCreative": false,
"lootInCreative": true,
"notificationMode": "NONE"
}
-
Tools are getting saved on 1 durability point even if the value sets to false.
-
Break nether leaves with one hit doesn't affect anything (or I don't get it) plus some of warts keep floating in the air
Here's my modlist, I didn't check the issue with blank MC and only Falling Tree mod cause I'm not sure that'll change anything
Minecraft version
1.20
Fabric API version
0.85.0
Mod version
4.2.1
Relevant log output
No response
- This is actually the case because of the damage multiplicand.
From my testing, I have an axe with 4 burability and the 1.25 multiplicand. It means that I'm allowed to break 4/1.25 = 3.2 blocks. So it'll break max 3 blocks.
This will as a result leave a durability of 1. This is this way because otherwise you'd break more blocks than the multiplied durability allows. - You have set Trees > Detection Mode = above cut. As the roots are below the log that is cut, it isn't taken into account.
- The "break warts" will break the warts (leaves) as you saw. Though you have a max tree size of 50 defined so it'll often be more blocks than this and therefore cut only parts of the tree. The "with one hit" variant is only useful with the shift down method. I can probably clarify that in a future release as it's not too urgent.