LayaPlugin-0.4.0.jar
What's new
Laya 0.4.0 for Hytale 0.7.4 — she can harvest now, and gathering got a lot smarter.
Harvesting (new)
harvest,harvest the carrots,harvest 5 carrots,pick whatever's ripe,harvest all in the 100x100,don't replant.- Uses Hytale's own harvest call, so a ripe crop gives exactly what the game gives — no break interaction, no drops left on the ground.
- Plain crops are consumed; Eternal crops are left standing at
Harvestedand regrow by themselves. She reads which one it was from the block and says so. - Replants from her own pack, topped up from chests within 5 blocks before she starts (never mid-run). "Don't replant" leaves the cells bare.
- Every count she reports is read back from the world: "picked 6 carrots, 4 regrow, 1 replanted".
- "In 100x100" means 50 blocks, taken literally; a bare "harvest" widens only to 32, so she will not walk two fields over for one mushroom.
Gathering
- Hints match whole words against real item names. "gather corn" used to match 64 blocks — including every "Corner" — and she would end up breaking tree branches. "Corn" now resolves to the corn.
- Every gathered block gives its real drop. A picked flower gives the flower; a wild plant gives what the game gives; crops give their produce. Nothing invented.
- Crops report real names: "gathered 5 Mature Wheat", not an asset key.
- "Gather everything around us" sweeps trunks, ore, rubble, wild mushrooms and non-crop plants — and deliberately skips your crops, sown seed blocks, leaves, saplings and bare terrain.
- A field edge no longer means "nothing here": an unsized area scan that finds nothing at 16 blocks takes one look at 32.
HUD and UI
- New task icons for attack, defend, follow, stay, gather, mine, chop, farm and downed — all from one source set, with consistent size, weight and centring.
- Inventory / interact page rebalanced: the right-hand dead space is gone and the gear column sits flush with the pack.
- Fixed gear-slot clicks and the farming icon from earlier releases.
Under the hood
- Planted crops live on generated per-stage block types
(
*Plant_Crop_Wheat_Block_State_Definitions_StageFinal), which the old exact-key scan could never match. Hint matching, crop words and display names all use one canonical key now. config/blocks.jsonwas rebuilt from Hytale's own asset data with the block's declared name (3,182 blocks).- Whole-word hint matching also cut scan cost: "corn" is 2 keys instead of 64 over ~10,000 blocks per scan, which removes a world-thread stall during gather tasks.
Install: drop LayaPlugin-0.4.0.jar into UserData/Mods (remove the old
LayaPlugin-0.3.0.jar) or run install.bat. The ai-bridge and config files should be
updated together with the jar.
LayaPlugin-0.4.0.jar — 315,114 bytes, 110 entries, built against Hytale 0.7.4.
This mod has no additional files

