Pylons Hoe Compat
Adds configurable hoe compatibility to Pylons' Harvester Pylon.
The Problem
Pylons' HarvesterPylonTile decides whether an item counts as a "hoe" with a single hardcoded check:
return stack.getItem() instanceof HoeItem;
There is no tag or config option to change this. Modded farming tools that don't extend vanilla's HoeItem — most notably Tinkers' Construct's Kama, which is a concrete class and can't be made to inherit from HoeItem — are silently rejected by the Harvester Pylon's tool slot, even though they function as harvesting tools in every other context.
What This Mod Does
Pylons Hoe Compat uses a Mixin to hook into HarvesterPylonTile#isItemValid. If the vanilla check returns false, it performs one additional check: is this item's registry name in a configurable allow-list? If so, the item is accepted as a valid tool for the Harvester Pylon.
- No dependency on Tinkers' Construct (or any other mod) at compile time — items are matched purely by registry name (
modid:item_id) string, so this works with any mod's tools. - Tinkers' Construct's Kama (
tconstruct:kama) is allowed by default. - Fully additive: it never removes vanilla hoe support, it only widens what else is accepted.
Configuration
A server config file is generated at config/pylonshoecompat-server.toml:
extraHoeItems = ["tconstruct:kama"]
Add any other item's registry name to extraHoeItems to let the Harvester Pylon accept it as well — no coding or additional mod updates required.
Compatibility
- Minecraft: 1.20.1
- Forge: 47.4.22+
- Requires: Pylons 4.3.0+ (loaded after Pylons)
- Works on both client and server; must be installed on the server (and any client that needs matching mod lists).
Notes
- This is a small, targeted compatibility patch, not a general rebalance or feature mod.
- Built and tested against Pylons 4.3.0. Other Pylons versions with the same
isItemValidimplementation should work but are untested.
License
MIT

