BlueGit

timfa copperfarmer

Files

copperfarmer / src / main / resources / config.yml

config.yml

config.yml 2.9 KiB Download Raw
1# How many chunks around a newly spawned / chestless farmer are searched.
2chest-search-chunk-radius: 3
3
4# When a farmer statue is placed, forget the bound chest if it is farther than this
5# Chebyshev chunk distance (default: more than 5 chunks away).
6chest-memory-chunk-radius: 5
7
8# Crops must be within this Euclidean distance of the bound chest.
9crop-radius: 25
10
11# An idle farmer retries a crop scan this often when nothing was found. 200 ticks = 10 seconds.
12# After a successful chest dump the farmer waits 2 seconds instead (after-deposit-scan-ticks).
13scan-interval-ticks: 200
14
15# State-machine update interval. Pathfinding itself remains vanilla.
16brain-tick-interval: 5
17
18# Vanilla pathfinder speed multiplier. 1.0 = normal mob speed.
19move-speed: 1.0
20
21# Consider a farmer stuck after this many ticks without meaningful movement.
22stuck-timeout-ticks: 60
23
24# Number of fresh path calculations allowed after the initial path fails/stalls.
25max-path-retries: 1
26
27# Don't repeatedly select an unreachable crop until this cooldown expires.
28unreachable-crop-cooldown-ticks: 600
29
30# Max horizontal (XZ) distance from the target block centre for harvest/plant/deposit.
31action-distance-horizontal: 1.8
32
33# Max vertical (Y) distance from the target block centre for harvest/plant/deposit.
34action-distance-vertical: 2.25
35
36# Interaction also requires line-of-sight (solid blocks between golem and target block).
37
38# Vanilla FOLLOW_RANGE used for farmer path searches. Large enough for complex indoor
39# routes; crop-radius still limits which targets are considered.
40pathfinding-range: 100
41
42# After arriving at empty farmland, wait this long before planting. 30 ticks = 1.5 seconds.
43plant-windup-ticks: 30
44
45# After a successful cargo dump, wait this long before scanning for the next crop. 40 ticks = 2 seconds.
46after-deposit-scan-ticks: 40
47
48# Maximum internal cargo stacks. Partial stacks are combined first.
49cargo-slots: 9
50
51# When true, farmers are kept waxed so they never weather into statues.
52# Leave false for vanilla oxidation, honeycomb waxing and axe scraping.
53prevent-oxidation: false
54
55# Lumberer tree scan: columns processed per scanning chunk per brain tick.
56tree-scan-columns-per-tick: 32
57
58# Max tree detections (flood-fills) per scanning chunk per brain tick.
59tree-detects-per-tick: 2
60
61# How many chunks may be scanned in the same tick.
62tree-scan-max-chunks-per-tick: 2
63
64# Refuse trees larger than this many logs (also caps mega-jungle / merged trunks).
65tree-max-logs: 64
66
67# Leaf blocks visited while looking for diagonal branches.
68tree-max-leaf-visits: 128
69
70# How far above the no-leaves heightmap a column is checked for a trunk.
71# Columns are never scanned downward into stone/ore.
72tree-scan-above-ground: 40
73
74# When true, every log must be horizontally surrounded only by air, same-type
75# logs, matching natural leaves, or known natural clutter. Default is false:
76# a recognised trunk on valid soil with matching non-persistent leaves on top
77# is enough, regardless of neighbouring blocks.
78tree-strict-mode: false