No Ground-Leaf Decay 1.7.0 [1.13+ Version]

Prevent ground-leaves "bushes" from decaying

  1. ShaneBee
    Native Minecraft Version:
    1.13
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    Source Code:
    https://github.com/ShaneBeee/NoGroundDecay
    [​IMG]
    NoGroundLeafDecay was created to solve a small problem. Some plugins/world generators can place leaves on the ground to give the effect of bushes, but if you remove that plugin, the leaves start to decay. I created this plugin to prevent the future decay of these leaves.

    Another instance this plugin can help with is if you use WorldPainter. You can paint a beautiful world and put leaves on the ground to create the effect of bushes in your world, but as soon as you join the world, the leaves start to decay.... well, that's where NoGroundLeafDecay comes to the rescue!

    This plugin couldn't be any simpler to use. Simply drop it into your server's plugin folder, restart and you are good to go. No config. No permissions. No commands. Nothing for you to worry about!


    I made this simple little to video show that the leaves are persistent and will not decay over time!

    [​IMG]

    Versions:
    Please see the "Version History" tab to find the correct version for your server version. Unmarked versions will support Spigot 1.13.x

    Wondering how this works? Here's a little backstory on how leaves work in Minecraft.

    Leaves can be placed in your world 2 different ways:
    1) Non-Persistent leaves are placed by world generators or plugins, such as EpicWorldGenerator or by apps like WorldPainter.
    2) Persistent leaves are placed by a player (ie: a player placing leaves on the ground)

    Leaf Persistence:
    When a player places leaves on the ground or wherever, they are given the tag "Persistent" .... this means the leaves will never decay.
    When a plugin/WorldPainter places leaves, they are not given this tag.... they are always looking for decay possibilities. They look for logs within a 7 block radius, if a log is not present they start to decay. Plugins such as EpicWorldGenerator have built in anti-decay methods, but if you remove the plugin the leaves on the ground will follow their natural path of looking for wood, and if no wood is present they start to decay. If you use a program such as WorldPainter to paint an overlay of leaves on the ground (ex: painting "bushes" around your world) they are not given the persistent tag either, and as soon as you start your server the leaves will start to decay (YEP, that happened to me, which is why I made this plugin)

    How This Plugin Works:
    Short story, when a LeafDecayEvent starts, it checks the block below it, if the block below is Grass/Dirt/CoarseDirt/Podzol this event will be cancelled and the leaves will be given the Persistence tag, preventing from future checks. I also added a check for 2 blocks below, incase your bushes are stacked up. If these conditions aren't met, the leaves will decay

    Reviews:
    Please do not use reviews for help. If you post in reviews for support you will not receive support, as I can only reply to your review, and not have a conversation back and forth.

    Support:
    Please use the discussion area for support, I will do my best to help.
    I also have a private DISCORD channel for my resource. (Look for the category on the left "Projects-Support")
    [​IMG]
    Feel free to donate if you would like :) Any support helps out
    [​IMG]
    HoLiSchit likes this.

Recent Updates

  1. bStats [1.7.0]
  2. Low Trees [1.6.0]
  3. Low Trees [1.5.0]

Recent Reviews

  1. proomaster
    proomaster
    5/5,
    Version: 1.7.0 [1.13+ Version]
    good gg plugin, I recommend it to use it on your servers :D

    ---------------------------
    prooomaster
    ---------------------------
    1. ShaneBee
      Author's Response
      Thanks for the great review :)
  2. AlfieLeeSkinner
    AlfieLeeSkinner
    5/5,
    Version: 1.7.0 [1.13+ Version]
    Awesome work man - plugin works perfectly, no complaints at all. Keep the good work up!
    1. ShaneBee
      Author's Response
      Hey Alfie thanks for the kind words :) Really appreciate it!!!
  3. MxMC_Gaming
    MxMC_Gaming
    5/5,
    Version: 1.6.0 [1.13+ Version]
    Honestly the best plugin I could find in this category, I recommend it to anyone who wants to build hubs/spawns where the leaves don't decay. Recommend it fully!
    1. ShaneBee
      Author's Response
      Thank you very much for the review and kind words :)
  4. Gustavo_Player
    Gustavo_Player
    5/5,
    Version: 1.4.0 [1.8.8 Ver]
    The perfect plugin doesn't exi ~
    1. ShaneBee
      Author's Response
      haha ;)
      thanks
  5. Golicraft
    Golicraft
    5/5,
    Version: 1.4.0 [1.8.8 Ver]
    I am not the kind of person who makes public reviews. Often I just make a DM to the author and rate 5/5 but because of how nice the developer really is and how fast and good support/replies he gave I would love to rate this.

    So this is a "must-have" plugin but sadly it was 1.9-1.13 so I asked if it is possible to hook into the 1.8 API and guess what! He did it and made an own version just for 1.8.8. Thank you very much. I am excited to see my world without leafs disappearing anymore plus you can make cool decoration with leafs :D
    1. ShaneBee
      Author's Response
      Thanks for the 5 stars. Im glad I was able to quickly push out a working version for you!
      I feel the same as you, I'm super stoked to start making a cool world (going to be using WorldPainter to make a custom world)
      Hopefully this plugin makes all your decorative leaf dreams come true ;)
  6. Gustavo_Player
    Gustavo_Player
    5/5,
    Version: 1.1.0
    Works with 1.12.2? *thinking*
    1. ShaneBee
      Author's Response
      Hey thanks for the 5 stars.
      I just released a second version for 1.12.2 .... it's not as optimized as the 1.13 version, but it DOES work. You will notice no difference. I will keep working on improving it, hopefully get a fully optimized version out ASAP!
  7. HoLiSchit
    HoLiSchit
    5/5,
    Version: 1.1.0
    Awesome. Now i can generate a nice EWG 1.12 world and then remove EWG. finally 1.13 yay
    You are learning fast, Shane!
    1. ShaneBee
      Author's Response
      Hey thanks for the review!
      I guess after a year of doing Skript ... Java isn't as hard as I thought it would be ... but in all fairness this plugin was PRETTY basic, but it does the trick!
      Im super stoked to do some work in WorldPainter and make an awesome world!