Having played Minecraft a lot, one of the things that always bothers me is that when you cut down a tree, the leaves seem to stay in the air forever. Since I like a clean world around my base, I can't stand this so I either wait around until they are gone, or I remove them manually.
Having heard there is a mod that fixes this - RandomThings - I was very excited. However it is sometimes difficult to add mods to a pack if I am playing with several other people, since whenever the pack updates, they have to manually add the other mods again.
This is why I made FastLeafDecay. A small, server-side mod, that fixes only the thing I needed. Leaves will be gone within a few seconds after cutting down the wood in a tree.
None required. Just drop the mod in your mods folder. When playing on a server, only the server needs to have the mod installed. Also works in single player.
Full credit goes to lumien for making RandomThings, from which I took nearly all of the code for this mod.
Modpacks
Feel free to use this mod in your mod pack. I would appreciate a line here, but no permission is required.
License
The MIT License (MIT)
Copyright (c) 2014 Olafski
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
...and for those that will certaintly take some sort of offense to this comment, please remember, just as your comments are, this comment is my opinion, and I wont flame you for ur opinion, dont flame me for mine.
[17:02:41] [main/INFO] [FastLeafDecay/]: Patching leaves.
[17:02:41] [main/INFO] [FastLeafDecay/]: Found Leave Class: net/minecraft/block/BlockLeavesBase
[17:02:41] [main/ERROR] [LaunchWrapper/]: Unable to launch
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_31]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_31]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_31]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_31]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
Caused by: java.lang.NoClassDefFoundError: net/minecraft/block/BlockOldLeaf
at net.minecraft.block.Block.func_149671_p(Block.java:222) ~[aji.class:?]
at net.minecraft.init.Bootstrap.func_151354_b(SourceFile:355) ~[kl.class:?]
at net.minecraft.client.Minecraft.<init>(Minecraft.java:287) ~[bao.class:?]
at net.minecraft.client.main.Main.main(SourceFile:129) ~[Main.class:?]
... 6 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.block.BlockOldLeaf
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.11.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at net.minecraft.block.Block.func_149671_p(Block.java:222) ~[aji.class:?]
at net.minecraft.init.Bootstrap.func_151354_b(SourceFile:355) ~[kl.class:?]
at net.minecraft.client.Minecraft.<init>(Minecraft.java:287) ~[bao.class:?]
at net.minecraft.client.main.Main.main(SourceFile:129) ~[Main.class:?]
... 6 more
Caused by: java.lang.NoClassDefFoundError: net/minecraft/block/BlockLeaves
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_31]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.11.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at net.minecraft.block.Block.func_149671_p(Block.java:222) ~[aji.class:?]
at net.minecraft.init.Bootstrap.func_151354_b(SourceFile:355) ~[kl.class:?]
at net.minecraft.client.Minecraft.<init>(Minecraft.java:287) ~[bao.class:?]
at net.minecraft.client.main.Main.main(SourceFile:129) ~[Main.class:?]
... 6 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.block.BlockLeaves
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.11.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_31]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.11.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at net.minecraft.block.Block.func_149671_p(Block.java:222) ~[aji.class:?]
at net.minecraft.init.Bootstrap.func_151354_b(SourceFile:355) ~[kl.class:?]
at net.minecraft.client.Minecraft.<init>(Minecraft.java:287) ~[bao.class:?]
at net.minecraft.client.main.Main.main(SourceFile:129) ~[Main.class:?]
... 6 more
Caused by: java.lang.NoClassDefFoundError: net/minecraft/block/BlockLeavesBase
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_31]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.11.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_31]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.11.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at net.minecraft.block.Block.func_149671_p(Block.java:222) ~[aji.class:?]
at net.minecraft.init.Bootstrap.func_151354_b(SourceFile:355) ~[kl.class:?]
at net.minecraft.client.Minecraft.<init>(Minecraft.java:287) ~[bao.class:?]
at net.minecraft.client.main.Main.main(SourceFile:129) ~[Main.class:?]
... 6 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.block.BlockLeavesBase
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.11.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_31]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.11.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_31]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.11.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at net.minecraft.block.Block.func_149671_p(Block.java:222) ~[aji.class:?]
at net.minecraft.init.Bootstrap.func_151354_b(SourceFile:355) ~[kl.class:?]
at net.minecraft.client.Minecraft.<init>(Minecraft.java:287) ~[bao.class:?]
at net.minecraft.client.main.Main.main(SourceFile:129) ~[Main.class:?]
... 6 more
Caused by: java.lang.ClassFormatError: Duplicate method name&signature in class file net/minecraft/block/BlockLeavesBase
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_31]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.11.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_31]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.11.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_31]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.11.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at net.minecraft.block.Block.func_149671_p(Block.java:222) ~[aji.class:?]
at net.minecraft.init.Bootstrap.func_151354_b(SourceFile:355) ~[kl.class:?]
at net.minecraft.client.Minecraft.<init>(Minecraft.java:287) ~[bao.class:?]
at net.minecraft.client.main.Main.main(SourceFile:129) ~[Main.class:?]
... 6 more
EDIT: I found the problem. It's a imcompatibity with CJB API. Can you look this for us?
The Meaning of Life, the Universe, and Everything.
Join Date:
3/20/2012
Posts:
1,544
Member Details
It would be better if there is full control over leaf decay . From no leaf decay , up to instant leaf decay . Add configuration to menu in either Liteloader or Forge .
There seems to be an issue: With Fastleafdecay on for some reason mobs spawn much, much, MUUUCH faster. Removing it or adding it to the server makes a very noticeable, visible effect on mob spawns. Roughly 3-5 times higher when this mod is present...
I have not yet had a chance to be able to confirm this, but I have players telling me that it would appear that Fast Leaf Decay is causing drop rates of saplings and such to be lowered due to the faster decay rate.
Do you know if this is true, and if so, is there a way to balance out the increased speed with which the leaves decay with the rate at which they drop saplings, apples, and other normal drops?
I have not yet had a chance to be able to confirm this, but I have players telling me that it would appear that Fast Leaf Decay is causing drop rates of saplings and such to be lowered due to the faster decay rate.
Do you know if this is true, and if so, is there a way to balance out the increased speed with which the leaves decay with the rate at which they drop saplings, apples, and other normal drops?
Can confirm this. Before adding this mod my tree farm was always yielding alot of saplings. After using this mod for some hours my farm has run out of saplings and come to a complete stop..
The Meaning of Life, the Universe, and Everything.
Join Date:
3/20/2012
Posts:
1,544
Member Details
I looked at the source , at present there is no way to control anything . All data values have been hard coded to " 7 " . I suggested a rewrite a few posts back to gain more control over all tree events .
If I helped you in any way or agree in my ideas or posts, make sure you click that green arrow pointing up below my post or simply huggle me! I use 1.7.10 (Modded), so when I comment that I like a 1.8 mod, I will comment to downgrade to 1.7.10. I support no pics, no clicks. Suggestions that I think that are the best deserves a banner!
It is almost time to say goodbye to 1.7.10 because of the recent surge of big 1.9 mods.
Why MCreator sucks: jcm2606's file (doesn't open a new tab) He allows/welcomes anyone to link the file, so I put it here in my signature for people to know how MCreator functions. I thank jcm2606 (he's awesome) for creating the document/file and I'm just here to spread the word.
There seems to be an issue: With Fastleafdecay on for some reason mobs spawn much, much, MUUUCH faster. Removing it or adding it to the server makes a very noticeable, visible effect on mob spawns. Roughly 3-5 times higher when this mod is present...
I have not yet had a chance to be able to confirm this, but I have players telling me that it would appear that Fast Leaf Decay is causing drop rates of saplings and such to be lowered due to the faster decay rate.
Do you know if this is true, and if so, is there a way to balance out the increased speed with which the leaves decay with the rate at which they drop saplings, apples, and other normal drops?
Can confirm this. Before adding this mod my tree farm was always yielding alot of saplings. After using this mod for some hours my farm has run out of saplings and come to a complete stop..
Just schedules a block update when called. So, instead of a leaf block only decaying when it is ticked (slow process), leaf blocks can be scheduled for an update from someone else. Who does that?
This ... is harder to understand. It's a coremod, and it's patching some existing code. This is where calls to the routine to schedule updates are added.
Ultimately, I cannot find the "top", or where it starts. Best I can tell is that FldTransformer.transform() is called, with unknown args. If/When it is asked to look at BlockLeavesBase, it will patch that class. So right off the bat, it will only cause leaves to decay that inherit from vanilla leaves, and don't alter the decay behavior.
It finds the routine in that class named "onNeighborBlockChange()". This routine is (added? Modified? replaced? patched?) to include a call to the schedule update routine.
But beyond that? The details? Why the code being patched includes references to the code doing the patching? Here I have no clue what is actually going on / being done.
Now, reduced sapling drop rate? Increased mob spawns? ...
If all this is doing in schedule updates on a block, and the block is the correct leaf block?
Well, that's the thing. It looks like a leaf block will update on any neighbor block update. If a log block is removed, the leaf blocks next to it will update -- good -- and that will propagate the leafs going poof.
But a block can wind up getting multiple updates scheduled for it. When it goes poof the first time, the second time it will be an air block -- that should do nothing. And the normal leaf block decay should drop the same sapling rate.
So ... I don't know. I don't see anything that would alter leaf-block drops, or cause increased spawns. Ticking a leaf block multiple times won't change the drops when it decays, ticking air won't spawn mobs ... ???
===
Meanwhile, if this is somehow reducing sapling drop rates, then this is perfect for a challenge map I'm working on (based on reduced resources) ...
(In regard to a mod that gives realistic animal genetics):
Would you really rather have bees that make diamonds and oil with magical genetic blocks?
... did I really ask that?
Hey guys. Thanks for all your replies! For some reason I wasn't receiving e-mails about them, hence the slow reply.
Here are a few replies
- This mod should not be affecting leaf drop rates in any way. The normal "leaf decay event" still occurs, so the drop rate of whatever the tree would drop would be unaffected, it's just quicker.
- If you're using an MFR farm, or Steve's Carts, or anything that breaks the leaf blocks, you will run into trouble. Since the leaves decay by themselves, the saplings will just fall on the ground instead of the farm gathering them. You may want to use something like a void hopper or similar device to gather the drops.
- The mob spawn thing sounds even more unlikely, but I'm not that well versed in the Minecraft code...
- The onNeighbourBlockChange method is patched, not added.
- The mod is server side only, so you can add it to any pack you're running a server for and the players won't need to download anything.
- I've been thinking about making the speed configurable. Might get to that in the near future, it will require some tweaking though.
FastLeafDecay - Leaves be gone!
Description
Having played Minecraft a lot, one of the things that always bothers me is that when you cut down a tree, the leaves seem to stay in the air forever. Since I like a clean world around my base, I can't stand this so I either wait around until they are gone, or I remove them manually.
Having heard there is a mod that fixes this - RandomThings - I was very excited. However it is sometimes difficult to add mods to a pack if I am playing with several other people, since whenever the pack updates, they have to manually add the other mods again.
This is why I made FastLeafDecay. A small, server-side mod, that fixes only the thing I needed. Leaves will be gone within a few seconds after cutting down the wood in a tree.
Download
Get this mod on CurseForge!
Configuration
None required. Just drop the mod in your mods folder. When playing on a server, only the server needs to have the mod installed. Also works in single player.
Source
You can find the source for this mod on GitHub.
Credits
Full credit goes to lumien for making RandomThings, from which I took nearly all of the code for this mod.
Modpacks
Feel free to use this mod in your mod pack. I would appreciate a line here, but no permission is required.
License
Copyright (c) 2014 Olafski
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Kill two stones with one bird whenever possible
[17:02:41] [main/INFO] [FastLeafDecay/]: Patching leaves.
[17:02:41] [main/INFO] [FastLeafDecay/]: Found Leave Class: net/minecraft/block/BlockLeavesBase
[17:02:41] [main/ERROR] [LaunchWrapper/]: Unable to launch
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_31]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_31]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_31]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_31]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
Caused by: java.lang.NoClassDefFoundError: net/minecraft/block/BlockOldLeaf
at net.minecraft.block.Block.func_149671_p(Block.java:222) ~[aji.class:?]
at net.minecraft.init.Bootstrap.func_151354_b(SourceFile:355) ~[kl.class:?]
at net.minecraft.client.Minecraft.<init>(Minecraft.java:287) ~[bao.class:?]
at net.minecraft.client.main.Main.main(SourceFile:129) ~[Main.class:?]
... 6 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.block.BlockOldLeaf
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.11.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at net.minecraft.block.Block.func_149671_p(Block.java:222) ~[aji.class:?]
at net.minecraft.init.Bootstrap.func_151354_b(SourceFile:355) ~[kl.class:?]
at net.minecraft.client.Minecraft.<init>(Minecraft.java:287) ~[bao.class:?]
at net.minecraft.client.main.Main.main(SourceFile:129) ~[Main.class:?]
... 6 more
Caused by: java.lang.NoClassDefFoundError: net/minecraft/block/BlockLeaves
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_31]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.11.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at net.minecraft.block.Block.func_149671_p(Block.java:222) ~[aji.class:?]
at net.minecraft.init.Bootstrap.func_151354_b(SourceFile:355) ~[kl.class:?]
at net.minecraft.client.Minecraft.<init>(Minecraft.java:287) ~[bao.class:?]
at net.minecraft.client.main.Main.main(SourceFile:129) ~[Main.class:?]
... 6 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.block.BlockLeaves
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.11.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_31]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.11.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at net.minecraft.block.Block.func_149671_p(Block.java:222) ~[aji.class:?]
at net.minecraft.init.Bootstrap.func_151354_b(SourceFile:355) ~[kl.class:?]
at net.minecraft.client.Minecraft.<init>(Minecraft.java:287) ~[bao.class:?]
at net.minecraft.client.main.Main.main(SourceFile:129) ~[Main.class:?]
... 6 more
Caused by: java.lang.NoClassDefFoundError: net/minecraft/block/BlockLeavesBase
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_31]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.11.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_31]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.11.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at net.minecraft.block.Block.func_149671_p(Block.java:222) ~[aji.class:?]
at net.minecraft.init.Bootstrap.func_151354_b(SourceFile:355) ~[kl.class:?]
at net.minecraft.client.Minecraft.<init>(Minecraft.java:287) ~[bao.class:?]
at net.minecraft.client.main.Main.main(SourceFile:129) ~[Main.class:?]
... 6 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.block.BlockLeavesBase
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.11.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_31]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.11.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_31]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.11.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at net.minecraft.block.Block.func_149671_p(Block.java:222) ~[aji.class:?]
at net.minecraft.init.Bootstrap.func_151354_b(SourceFile:355) ~[kl.class:?]
at net.minecraft.client.Minecraft.<init>(Minecraft.java:287) ~[bao.class:?]
at net.minecraft.client.main.Main.main(SourceFile:129) ~[Main.class:?]
... 6 more
Caused by: java.lang.ClassFormatError: Duplicate method name&signature in class file net/minecraft/block/BlockLeavesBase
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_31]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.11.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_31]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.11.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_31]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_31]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.11.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_31]
at net.minecraft.block.Block.func_149671_p(Block.java:222) ~[aji.class:?]
at net.minecraft.init.Bootstrap.func_151354_b(SourceFile:355) ~[kl.class:?]
at net.minecraft.client.Minecraft.<init>(Minecraft.java:287) ~[bao.class:?]
at net.minecraft.client.main.Main.main(SourceFile:129) ~[Main.class:?]
... 6 more
EDIT: I found the problem. It's a imcompatibity with CJB API. Can you look this for us?
Tks anyway.
Settings 0 to 10
Do you know if this is true, and if so, is there a way to balance out the increased speed with which the leaves decay with the rate at which they drop saplings, apples, and other normal drops?
Senior Admin, and modpack maintainer
This is great, I like Random Things and all, but it just doesn't fit EVERY modpack so its awesome to have this available on its own ! Good Job !
Can confirm this. Before adding this mod my tree farm was always yielding alot of saplings. After using this mod for some hours my farm has run out of saplings and come to a complete stop..
can you add functionality for Silverwood and Greatwood leaves from Thaumcraft? They still decay at vanilla rates
-deleted-
"Train like you compete, compete like you practice"
I looked at the source , at present there is no way to control anything . All data values have been hard coded to " 7 " . I suggested a rewrite a few posts back to gain more control over all tree events .
10/10..
If I helped you in any way or agree in my ideas or posts, make sure you click that green arrow pointing up below my post or simply huggle me! I use 1.7.10 (Modded), so when I comment that I like a 1.8 mod, I will comment to downgrade to 1.7.10. I support no pics, no clicks. Suggestions that I think that are the best deserves a banner!
It is almost time to say goodbye to 1.7.10 because of the recent surge of big 1.9 mods.
Why MCreator sucks: jcm2606's file (doesn't open a new tab) He allows/welcomes anyone to link the file, so I put it here in my signature for people to know how MCreator functions. I thank jcm2606 (he's awesome) for creating the document/file and I'm just here to spread the word.
500+ huggles? U wot, m8?
So I was curious enough, that I looked at the source on Github.
There seem to be two files that do everything.
https://github.com/Olafski/FastLeafDecay/blob/master/src/main/java/com/olafski/fastleafdecay/FldHandler.java
Just schedules a block update when called. So, instead of a leaf block only decaying when it is ticked (slow process), leaf blocks can be scheduled for an update from someone else. Who does that?
https://github.com/Olafski/FastLeafDecay/blob/master/src/main/java/com/olafski/fastleafdecay/FldTransformer.java
This ... is harder to understand. It's a coremod, and it's patching some existing code. This is where calls to the routine to schedule updates are added.
Ultimately, I cannot find the "top", or where it starts. Best I can tell is that FldTransformer.transform() is called, with unknown args. If/When it is asked to look at BlockLeavesBase, it will patch that class. So right off the bat, it will only cause leaves to decay that inherit from vanilla leaves, and don't alter the decay behavior.
It finds the routine in that class named "onNeighborBlockChange()". This routine is (added? Modified? replaced? patched?) to include a call to the schedule update routine.
But beyond that? The details? Why the code being patched includes references to the code doing the patching? Here I have no clue what is actually going on / being done.
Now, reduced sapling drop rate? Increased mob spawns? ...
If all this is doing in schedule updates on a block, and the block is the correct leaf block?
Well, that's the thing. It looks like a leaf block will update on any neighbor block update. If a log block is removed, the leaf blocks next to it will update -- good -- and that will propagate the leafs going poof.
But a block can wind up getting multiple updates scheduled for it. When it goes poof the first time, the second time it will be an air block -- that should do nothing. And the normal leaf block decay should drop the same sapling rate.
So ... I don't know. I don't see anything that would alter leaf-block drops, or cause increased spawns. Ticking a leaf block multiple times won't change the drops when it decays, ticking air won't spawn mobs ... ???
===
Meanwhile, if this is somehow reducing sapling drop rates, then this is perfect for a challenge map I'm working on (based on reduced resources) ...
* Promoting this week: Captive Minecraft 4, Winter Realm. Aka: Vertical Vanilla Viewing. Clicky!
* My channel with Mystcraft, and general Minecraft Let's Plays: http://www.youtube.com/user/Keybounce.
* See all my video series: http://www.minecraftforum.net/forums/minecraft-editions/minecraft-editions-show-your/2865421-keybounces-list-of-creation-threads
(In regard to a mod that gives realistic animal genetics):
Would you really rather have bees that make diamonds and oil with magical genetic blocks?
... did I really ask that?
Hey guys. Thanks for all your replies! For some reason I wasn't receiving e-mails about them, hence the slow reply.
Here are a few replies
- This mod should not be affecting leaf drop rates in any way. The normal "leaf decay event" still occurs, so the drop rate of whatever the tree would drop would be unaffected, it's just quicker.
- If you're using an MFR farm, or Steve's Carts, or anything that breaks the leaf blocks, you will run into trouble. Since the leaves decay by themselves, the saplings will just fall on the ground instead of the farm gathering them. You may want to use something like a void hopper or similar device to gather the drops.
- The mob spawn thing sounds even more unlikely, but I'm not that well versed in the Minecraft code...
- The onNeighbourBlockChange method is patched, not added.
- The mod is server side only, so you can add it to any pack you're running a server for and the players won't need to download anything.
- I've been thinking about making the speed configurable. Might get to that in the near future, it will require some tweaking though.
Thanks again, I'll keep an eye on this topic!
Coloque integracão com outros mods como thaumcraft e natura(desculpa caso já tenha)