#General toggles [general] #Master switch for the whole feature. enableTreeCapitator = true #If true, the tree only falls while the player is sneaking. Prevents accidental felling. requireSneakToActivate = true #Scan and size limits (performance and anti-grief) [limits] #Hard cap on logs felled per tree. Also an early-exit guard against huge structures. # Default: 128 # Range: 1 ~ 4096 maxLogsPerTree = 128 #Maximum horizontal distance (in blocks) the scan may travel from the broken log. # Default: 12 # Range: 1 ~ 64 maxScanRadius = 12 #Maximum vertical extent (in blocks) of a valid tree. # Default: 40 # Range: 1 ~ 256 maxTreeHeight = 40 #Maximum horizontal bounding-box edge length of a valid tree. # Default: 16 # Range: 1 ~ 64 maxHorizontalSpread = 16 #Radius (in blocks) around each log searched for nearby leaves. # Default: 2 # Range: 1 ~ 8 leafSearchRadius = 2 #Validation heuristics [validation] #Minimum fraction (0..1) of logs that must have nearby leaves for the structure to count as a tree. # Default: 0.3 # Range: 0.0 ~ 1.0 minimumLeafRatio = 0.3 #Durability [durability] #Durability damage applied to the axe per felled log. 1.0 = 1 damage per log. # Default: 1.0 # Range: 0.0 ~ 100.0 durabilityMultiplier = 1.0 #Villager (librarian) trades [villager] #Per-librarian chance (0..1) to offer the Tree Capitator book. Similar rarity to Mending. # Default: 0.05 # Range: 0.0 ~ 1.0 villagerTradeChance = 0.05 #Minimum emerald cost of the librarian trade. # Default: 24 # Range: 1 ~ 64 librarianMinEmeralds = 24 #Maximum emerald cost of the librarian trade. # Default: 48 # Range: 1 ~ 64 librarianMaxEmeralds = 48 #Enchanting (documentation mirror of the data-driven weight) [enchanting] #Mirror of the weight in the enchantment JSON. Editing this does NOT change the table weight; #override data/treecapitator/enchantment/tree_capitator.json via a datapack instead. # Default: 1 # Range: 1 ~ 100 enchantingWeight = 1 #Mod compatibility [compatibility] #If true, refuse to fell any structure that has Create blocks nearby (contraption safety). createProtectionEnabled = true #Block filters (resource-location IDs, e.g. minecraft:oak_log) [filters] #Log block IDs that must NEVER be treated as part of a tree. blockedLogs = [] #Leaf block IDs that must NEVER count toward leaf validation. blockedLeaves = []