CivClassic / RealisticBiomes

Minecraft plugin that limits plant growth and animal reproduction to their naturally occuring biomes, or reasonable ones for plants that do not occur naturally. Built for Paper 1.16.5
MIT License
1 stars 12 forks source link

Harvesting partially grown sugarcane resets the growth timer #29

Closed okx-code closed 3 years ago

okx-code commented 3 years ago

One would expect that sugarcane with a growth time of 12 hours would grow by 2 blocks in the 12 hours. However, if you harvest it 11 hours in when one block has grown, it take another 6 hours to grow by one block, extending the growth time to 17 hours.

Not sure if this is intentional or not though. If I get confirmation that it isn't intentional, I can look into making a fix myself

Maxopoly commented 3 years ago

It's not intentional, but a difficult architectural issue

Maxopoly commented 3 years ago

Relevant code is here https://github.com/CivClassic/RealisticBiomes/blob/master/src/main/java/com/untamedears/realisticbiomes/PlantLogicManager.java#L48