### log_to_leaves mapping example Source: https://github.com/hrobasti/timberella-plugin/wiki/Home Example entry in leaf_mappings.yml mapping a log material to its foliage blocks. Only blocks listed for felled logs get removed. Run /timberella reload after editing this file. ```yaml log_to_leaves: OAK_LOG: - OAK_LEAVES ``` -------------------------------- ### Gradle build commands Source: https://github.com/hrobasti/timberella-plugin/wiki/2-‐-Developer-Guide Use these Gradle wrapper commands to compile, test, and format the project. The configuration cache is enabled, so repeated builds skip the configuration phase. The full build produces a shaded jar, sources jar, and checksums in the dist directory. ```bash ./gradlew clean build # compiles + formatting check + tests + shaded jar, sources jar and checksums ``` ```bash ./gradlew shadowJar # only build the shaded Paper artifact (with its .sha256) ``` ```bash ./gradlew test # run unit tests (no running server needed) ``` ```bash ./gradlew spotlessApply # auto-format Java and resource files (build fails on unformatted code) ``` -------------------------------- ### Repository layout tree Source: https://github.com/hrobasti/timberella-plugin/wiki/2-‐-Developer-Guide Shows the top-level file and directory structure of the timberella-plugin repository, including build scripts, version catalog, configuration, source, resources, tests, and license files. ```text plugins/timberella-plugin/ ├─ build.gradle # Paper plugin build script (shadowJar enabled) ├─ settings.gradle # Opt-in ../turtle-lib checkout (-PuseLocalTurtleLib=true) ├─ gradle/libs.versions.toml # Version catalog, a synced copy of the workspace root's catalog ├─ version.properties # Plugin version ├─ config/ # Spotless (Eclipse JDT) formatter settings ├─ src/main/java/... # Plugin source (package net.kroet.timberella) ├─ src/main/resources/ # Config, locales, leaf mappings, bundled license texts, legacy/ upgrade baselines ├─ src/test/java/... # Unit tests ├─ LICENSE # MIT license text, copied into the jar └─ THIRD_PARTY_LICENSES.md ``` -------------------------------- ### Replant configuration with sapling_source and saplings list Source: https://github.com/hrobasti/timberella-plugin/wiki/Home Configure the replant module: set sapling_source to 'drops' (default) or 'free', and list sapling materials. The module is enabled via enable_replant, not a key in this section. Replanting only occurs after multi-block felling, and mangrove propagules respect waterlogged soil. ```yaml replant: sapling_source: "drops" saplings: - OAK_SAPLING - MANGROVE_PROPAGULE ``` -------------------------------- ### leaves_decay configuration Source: https://github.com/hrobasti/timberella-plugin/wiki/Home Configuration section for leaf decay behavior. decay_radius controls search spread (minimum 0), max_distance is a safety bubble (minimum 1), batch settings keep TPS impact predictable (both minimum 1). Only leaves that would also decay in vanilla are removed. ```yaml leaves_decay: decay_radius: 5 max_distance: 9 batch_interval_ticks: 2 batch_size: 20 ```