Wurst version
Wurst-Client-v7.54-MC26.2
Minecraft version
26.2
Steps to reproduce
- Place sugar cane on a grass block, podzol, mycelium, or mud next to water and let it grow to at least two blocks tall.
- Stand within AutoFarm's range and enable AutoFarm.
- Observe that AutoFarm ignores the sugar cane. Sugar cane planted on dirt or sand is still detected and harvested.
Expected behavior
AutoFarm should detect and harvest sugar cane growing on every block that vanilla Minecraft considers a valid sugar cane support block.
Actual behavior
AutoFarm checks the minecraft:dirt and minecraft:sand tags. In Minecraft 26.2, the dirt tag was narrowed to dirt, coarse dirt, and rooted dirt. As a result, valid support blocks such as grass blocks, podzol, mycelium, and mud are no longer detected.
Additional information
Minecraft 26.2 provides the supports_sugar_cane and supports_sugar_cane_adjacently tags that match vanilla SugarCaneBlock placement rules. The related cactus placement check can similarly use supports_cactus.
I have prepared a focused implementation and can open a pull request after approval, as requested by the contribution guide:
Wurst-Imperium/Wurst7master → APonder-Dev:Wurst7:master
Wurst-Imperium/Wurst73dc0e2f
Wurst-Imperium/Wurst75ff67fc
The game does not crash, so there is no crash report.