GlymeraLumberTower - Automated Tree-Felling Tower with Built-In Chests
Place a single tower block and watch it shoot bolts at nearby trees, fell them, vacuum the wood into its built-in chests, and replant a sapling of the same species — all on its own.
Most actual version only working for Hytale stable 5 !
What is GlymeraLumberTower?
GlymeraLumberTower adds a static 9-block-tall tower (17 gold-brick blocks + 4 built-in chests) that automates tree harvesting completely. Place it, then walk away. Every five seconds it scans a 60-block cube around itself, fires a green energy bolt at the nearest tree, fells the entire trunk column, sucks the drops into its own chests, and plants a replacement sapling of the matching wood type. When all chests are full, the tower pauses until you make space.
Single JAR, no setup. Drop it into your server's mods/ folder and craft the tower at a workbench.
Features
Fully Automated Tree Harvesting
Smart Trunk Felling
Drop Vacuuming
Automatic Replanting
Atomic Tower Break (Exploit-Proof)
Built-In Chests
Recipe Toggle
Crafting
Craft at the Workbench (Crafting, Workbench_Survival category):
Admins can also use /give <player> GlymeraLumberTower to hand them out directly.
Commands
All sub-commands of /lumbertower are OP-only.
/lumbertower spawn — Place a tower at your feet
/lumbertower remove — Remove the nearest tower in this world (clean removal, no item drop)
/lumbertower list — Show the tower count in this world (yours / total)
/lumbertower capture <halfWidth> <height> — Re-capture the structure around you as a new tower template (OP)
/lumbertower captureat <x> <y> <z> <halfWidth> <height> — Same, with an explicit anchor position (OP)
Configuration
File at mods/de.glymera_GlymeraLumberTower/config.json (auto-generated on first start):
Technical Details
Good to Know
Installation
1. Place GlymeraLumberTower.jar in your server's mods/ folder
2. Start (or restart) the server
3. Done! Everything is embedded in the JAR — no external asset folders needed.
Made with care by Glymera for the Hytale community
Place a single tower block and watch it shoot bolts at nearby trees, fell them, vacuum the wood into its built-in chests, and replant a sapling of the same species — all on its own.
Most actual version only working for Hytale stable 5 !
What is GlymeraLumberTower?
GlymeraLumberTower adds a static 9-block-tall tower (17 gold-brick blocks + 4 built-in chests) that automates tree harvesting completely. Place it, then walk away. Every five seconds it scans a 60-block cube around itself, fires a green energy bolt at the nearest tree, fells the entire trunk column, sucks the drops into its own chests, and plants a replacement sapling of the matching wood type. When all chests are full, the tower pauses until you make space.
Single JAR, no setup. Drop it into your server's mods/ folder and craft the tower at a workbench.
Features
Fully Automated Tree Harvesting
- 5-second fire cycle per tower — scans, fires, fells, vacuums, replants
- 60-block Chebyshev cube range (3D cube, not sphere)
- Picks the nearest tree when multiple are in range
- Visual bolt: bright green particle trail from the tower tip to the trunk plus an impact strike, with shot/impact sound effects
Smart Trunk Felling
- Fells the entire trunk column in one shot, not just the bottom block
- Triggers Hytale's native physics cascade for branches and leaves
- Spawns the trunk's natural item drops
Drop Vacuuming
- 1.5 seconds after impact, the tower scans all item entities in its fire radius
- Tree-drop filter: only picks up wood, leaves, branches, and saplings — unrelated drops on the ground stay where they are
- Round-robin insertion across the four built-in chests, falling through full ones
- Visual feedback: a small green particle burst at the tower tip on each successful vacuum
Automatic Replanting
- On each successful chop, plants a Plant_Sapling_<WoodType> on the nearest soil block
- One-sapling-per-tree rule: skips the replant if any sapling already sits within 10 blocks
- Species match: an Oak trunk replants Oak, Stormbark replants Stormbark, etc.
Atomic Tower Break (Exploit-Proof)
- The four chest blocks and the floor directly underneath them are protected from being broken or damaged
- Breaking any tower block demolishes the entire tower atomically and returns a single tower item to the player
- All chest contents are spawned as item drops at the tower's base — survival players never lose stored items
- Non-owners cannot break the tower; OPs override
Built-In Chests
- 4x Furniture_Dungeon_Chest_Epic blocks form the tower's foot — right-click to open like any native chest
- Tower pauses firing when all four chests are completely full — no items are destroyed
- Chest contents survive server restarts (native Hytale persistence)
Recipe Toggle
- Workbench recipe is enabled by default
- Set recipesEnabled: false in config.json to disable crafting and let admins gate distribution via /give
Crafting
Craft at the Workbench (Crafting, Workbench_Survival category):
- 3x Concentrated Life Essence (Ingredient_Life_Essence_Concentrated)
- 5x Gold Bar (Ingredient_Bar_Gold)
- Output: 1x GlymeraLumberTower (5 second craft time)
Admins can also use /give <player> GlymeraLumberTower to hand them out directly.
Commands
All sub-commands of /lumbertower are OP-only.
/lumbertower spawn — Place a tower at your feet
/lumbertower remove — Remove the nearest tower in this world (clean removal, no item drop)
/lumbertower list — Show the tower count in this world (yours / total)
/lumbertower capture <halfWidth> <height> — Re-capture the structure around you as a new tower template (OP)
/lumbertower captureat <x> <y> <z> <halfWidth> <height> — Same, with an explicit anchor position (OP)
Configuration
File at mods/de.glymera_GlymeraLumberTower/config.json (auto-generated on first start):
- fireRadius (default: 60) — 3D Chebyshev half-edge in blocks (default 60 = 121x121x121 search cube)
- cooldownMs (default: 5000) — Milliseconds between shots per tower (5s)
- fireTickMs (default: 1000) — How often the tower's fire-tick loop runs (1s)
- maxTreeHeight (default: 32) — Maximum trunk-column height the felling walks up
- projectileSpeed (default: 50.0) — Bolt flight speed in blocks per second
- recipesEnabled (default: true) — If false, the workbench recipe is blocked
Technical Details
- All-in-one JAR with IncludesAssetPack: true — no separate pack folders required
- Default tower template is shipped as /default-template.json inside the JAR and extracted to the data directory on first start
- Trunk felling uses world.breakBlock(x, y, z, 0x100) to trigger Hytale's native neighbour-update cascade
- Trunk drops are spawned manually via ItemComponent.generateItemDrops because the programmatic break path does not produce the natural drop pipeline output
- Bottom-trunk detection filters trunks whose block below is not the same trunk type
- Soil detection uses the Type=Soil tag rather than the Soil_* name prefix
- Sapling re-validation gap: Hytale does not validate Support.Down at setBlock time, only at the first growth tick. The 10-block radius check ensures one tree = one sapling
- Atomic protection is tracked in two maps: blockPosToLumberTower (the 21 tower blocks) and supportPosToLumberTower (the 4 floor positions under the chests)
- Persistence is atomic (.tmp + ATOMIC_MOVE) to prevent zero-byte files on crash
Good to Know
- Towers do not aim across worlds. Each tower scans only its own world
- Towers do not aim at branches or leaves. Only bottom-trunk blocks are targeted — branches and leaves come down via the physics cascade
- Multiple towers in overlapping range all fire independently
- Tower placement uses the player's foot position as the NW-bottom-chest anchor. Make sure you have a 3x3 footprint of clear space at your feet
- The recipe is identical to the GlymeraObelisk recipe (3x Concentrated Life Essence + 5x Gold Bar at Workbench Survival). Both items appear as separate craftable entries in the bench
Installation
1. Place GlymeraLumberTower.jar in your server's mods/ folder
2. Start (or restart) the server
3. Done! Everything is embedded in the JAR — no external asset folders needed.
Made with care by Glymera for the Hytale community
