omega-mc / leaf-decay Goto Github PK
View Code? Open in Web Editor NEWModern Leaf Decay!
Home Page: https://www.curseforge.com/minecraft/mc-mods/leaf-decay
License: MIT License
Modern Leaf Decay!
Home Page: https://www.curseforge.com/minecraft/mc-mods/leaf-decay
License: MIT License
Issues link is missing in the mod config.
Players on my server were reporting issues where certain blocks in their tree farms would "pop off", things like observers & pistons.
Turns out it's because the leaf decay logic queues the removal as soon as a leaf block loses contact to a log.
Once it's in this queue, it never gets checked again. Before the queue actually gets processed, a lot can happen:
In my fork I just made the code check the state of the block again before actually removing it.
could we have an option to have decaying leaves not drop anything?
this way so many modded forests full of trees wouldn't stress the game because of all the items being spread about the place :)
Lol, this is not a real issue but can't find a place to reach out. Leaf Decay Works great on 1.18 so you could probably change the game version if you desire.
This and your other mod "Armor Stand Utils" has "modid.mixins.json" mixins json name, so one of them does not load if they together
As i checked the same in "Everything is a Hat", "Fluid Interactions", "Extra Pressure Plates" and particle in "Lil Tater". Not all your mods opensource, so, maybe it's more, like in "Armor Stand Utils"
ExtendedLeavesBlock, used by Redwood and Hemlock leaves in Terrestria, doesn't subclass LeavesBlock because it uses a distance property that supports leaves being farther from trees than vanilla. Not extending LeavesBlock actually prevents a crash here because otherwise mods like this would have tried to retrieve the DISTANCE property which isn't present on redwood and hemlock leaves.
I think that there's a few things that could be done to fix this:
BlockTags.LEAVES
instead of instanceof LeavesBlock
While doing that could be a bit hacky, it also nicely supports both vanilla leaves and ExtendedLeavesBlock from Terraform.
Will this be updated to 1.19?
Leaf Decay should have a client-side config that allows users to specify whether or not they want to hear leaves breaking or see the particles. Unfortunately, Leaf Decay is server-side, so all decisions about particles and sounds are made and then sent to the client.
One option would be creating a custom world event that tells the client to run a method which then asks their config whether or not to play a sound.
I'm not usually the guy annoying devs with these sort of questions, but since this mod seems quite abandoned, I wanted to ask if you plan on updating it to the latest MC version.
Would it be possible to add 1.16.4 to the supported versions so we can use this in modpacks? I can only add it manually and then curse flags it cause it's not in the manifest.
Would love to see official 1.18 compatibility. As mentioned in #16 the current 1.17.1 version of the mod, 1.30, it does appear to work in 1.18 without issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.