07-10-2015, 03:39 PM
07-14-2015, 01:02 AM
I could whip something up for you. Would it prevent all leaves from decaying, or just those in a specific range? Would they still drop items when broken?
07-14-2015, 05:06 PM
(07-14-2015, 01:02 AM)SamJBarney Wrote: [ -> ]I could whip something up for you. Would it prevent all leaves from decaying, or just those in a specific range? Would they still drop items when broken?
That would be wonderful. Currently I have a very large world I've ported from over a dozen different updates which I've continually built on. Without WorldGuard, or something similar every time I load the map up it is a lagfest of leaf decay and drops from the plants.
So anything that just stops leaves from decaying globally; so all leaves. Perhaps an option to turn off drops? If that isn't available, drops off would be fine.
Anyway, if its possible I'd love your help. Thanks <3
07-15-2015, 02:23 AM
Well, looking over the available hooks, I can whip up a plugin that will prevent leaves from creating drops. Unfortunately there is no hook to prevent natural block decay.
07-19-2015, 06:43 AM
(07-15-2015, 02:23 AM)SamJBarney Wrote: [ -> ]Well, looking over the available hooks, I can whip up a plugin that will prevent leaves from creating drops. Unfortunately there is no hook to prevent natural block decay.
Ah, well I appreciate it. The important thing is the leaf decay. =\ I suppose if I had quick hands I could replace every leaf block with 1.8+ self placed blocked.
I guess you could make it if you'd like, but I am unsure how good it will do. Thanks anyway, and appreciate everything though!
07-19-2015, 07:28 AM
Oh! Since it is a pre-generated world, I can replace each leaf block with a self-placed leaf block when the chunk is loaded. Though this means you would have to wander the entire world to make sure very chunk got loaded.
07-24-2015, 02:31 AM
You can download the plugin from https://github.com/SamJBarney/LeafDecayPrevention . That should solve your problems, but it will slow down initial loading of chunks a little bit.
Once you've loaded in all of the chunks, disable and remove the plugin. Prevention will last beyond the plugin being loaded.
-- edited by xoft to fix the link
Once you've loaded in all of the chunks, disable and remove the plugin. Prevention will last beyond the plugin being loaded.
-- edited by xoft to fix the link