Configurable Cane Mod — Guide
Mechanics
The mod modifies the random tick behavior of specific plant blocks. It offers two primary growth modes that can be toggled via the configuration file:
Vanilla Growth Logic
In this mode, the mod retains the standard Minecraft growth check but replaces the hardcoded height limit. When a random tick occurs, the plant checks how many blocks of the same type are below it. If the count is less than the configured max_height, it continues to grow. This is the most seamless experience for players familiar with classic mechanics.
Kelp-Like Growth Logic
Introduced to mimic the behavior of Kelp (added in Minecraft), this mode uses an "age" property. Each time the plant grows a new segment, the top block is assigned an age value. Once the age reaches a certain threshold or the plant reaches its maximum height, it stops growing naturally. This allows for more randomized heights across a farm, as some stalks may stop growing earlier than others based on their initial age value.
Technical Details
Compatibility
- Server-Side: The mod is fully functional when installed only on the server. Clients do not need the mod to see the tall plants or interact with them.
- Modded Plants: This mod specifically targets the vanilla
SugarCaneBlockandCactusBlockclasses. It may not affect plants added by other mods (like Bamboo or modded reeds) unless those mods explicitly extend the vanilla classes. - World Height: While the mod allows for very high values, setting the height beyond the world's build limit (320 in 1.20.1) will result in the plants stopping at the ceiling.