Basicly, this mod removes the ontick check in BlockFlower subclass that checks if it can still exist or should uproot the block based on the blocks around it, And if it can see the sky. This means ALL blocks that derive from it should use less cpu! Checking if the block can see the sky required the block to check *every* block above it! (Including air blocks), Very expensive.
it was causing huge lag spikes every 1.2 seconds on my FPS graph on a brand new world. these spikes are not there in 1.5.1, So I knew something notch added in 1.6.6 was the cause. Tallgrass was it.
Should be compatable with any mod that does not edit vt.class
Should not cause any changes in how minecraft plays. It does disable the light uprooting check untill you alter a block near the plant. However it could affect some automated farms, Because no longer is minecraft CONSTANTLY checking if flowers and grass should be uprooted. However it does still do the check when nearby blocks are updated, So I believe automated farms should still work as desired.
I can alter it to still have the lighting uproot check for all except tallgrass if people want.
(Tall grass, Mushrooms, Saplings, Flowers and all 'crops' are confirmed to be affected by this mod, Cactus are not however)
Please report if it causes any problems with automated farms. The 'On nearby block change' check is still there, So automated farming methods should still work fine.
Sweet merciful man-beans, it works! Thank you so much for releasing this mod. I've been getting those constant lag spikes as well and with this simple mod I can now fully enjoy the Minecraft experience once again. I'll keep this thread in mind just in case something comes up with this mod. Again, thank you!
It should'nt. At worst it would leave plants planted when there light levels where wrong, And you might get desynced.. seeing plants that should of uprooted.
Plants uprooting due to incorrect light level seems rather rare however, so I find it a small sacrifice to get rid of lag spikes. (I guess someone might use it as a farming method however)
If requested, I could alter just the Tallgrass class to make the mod only affect tallgrass.
Bockwurst: You don't need to generate a new world, it should take effect instantly.
However once you start building redstone stuff, that lag will swamp the lag you'd notice from tallgrass. So for best test, disable all redstone osillators first.
I won't promise this mod will make a huge diffrence in FPS, But it will help reduce annoying little lags that cause inconsistant FPS, resulting in FPS looking worse.
Ever wonder why most games look rock smooth at 40fps, yet minecraft is a lagfest at even 60fps? Its because of spikes in frame time.