Closed DarkFireNinja closed 3 months ago
I think this is the same issue as #54.
On one hand, Falling Leaves is a client-side mod, meaning you can join any server with it and putting it on a dedicated server won't do anything either. But when you host a LAN-server, your brother connects to your client's so called integrated server, which Falling Leaves does modify (to add the leaf particles).
There's not a lot we can do about that, so you have to work around it. Two ways I can think off are:
@Fourmisain Thank you so much for the reply! and thank you for explaining to me the reason why this happened. I will probably just give my brother the mod as well.
And yes, this is the same issue as #54. My bad for not knowing that this issue was already opened
So, if there isn't a way of fixing this, then you can close this issue if you'd like. Thanks again!
My bad for not knowing that this issue was already opened
Oh don't worry about it, it's not exactly easy to find and I just added that as a reference for us.
So, if there isn't a way of fixing this, then you can close this issue if you'd like.
It's theoretically possible to fix, but it'll probably result in hacky code and might cause new issues as well (like the /particle
command not working for leaf particles or potential crashes with some mods).
I said that and curiosity got the best of me.
After some looking into it, I found a way to spawn particles without adding them to the particle registry, which should allow for vanilla clients to join via LAN.
If you wanna try it out, you can get a test release here: https://github.com/RandomMcSomethin/fallingleaves/releases/tag/no_registry-test
Did some actual testing and found this specific issue only exists on Quilt due to it's more strict registry sync. On Fabric you can join with a vanilla client even when there's modded blocks - and you can stand on air. 😅
Also found the last test release crashes on 1.20.1 (though not on 1.20.4), so here's a fixed version: https://github.com/RandomMcSomethin/fallingleaves/releases/tag/no_registry-test-2
If the connecting client has the Fabric API installed but not Falling Leaves, it will also fail to connect due to registry mismatches.
I released a new version with an experimental "Register Leaf Particles" setting. This setting is on by default. Turning this setting off on the LAN server aka the host should fix the original issue.
I wanted to turn the setting off by default, but doing so breaks the /particle
(singleplayer) command and it might have some other unforeseen consequences. Sodium Extra for example can manage particles, but only if they are registered - not a particularly big deal since particles can already be turned off via Falling Leaves' settings, but still, it's probably safer this way.
When i try to use this mod on a LAN server with my brother who doesn't have the mod installed (he is using Vanilla Minecraft), he gets this error when he tries to join my world:
**Connection Lost
Unsupported (vanilla?) client! This server requires modded client to join!**
I'm using Quilt Loader on version 1.20.1 of Minecraft.