FallingTree icon indicating copy to clipboard operation
FallingTree copied to clipboard

Mod doesn't respect changed Sneak keybind

Open HatTrkPatrk opened this issue 2 years ago • 7 comments

Describe the bug

With the functionality to require sneak being held for the mod to do its thing, if you've changed your Sneak keybind the mod doesn't respect it (seems to still require you to hold Shift).

IIRC on 1.16.5 it respected the keybind if you change it.

Minecraft version

1.19.2

Forge version

43.1.43

Mod version

2.11.5

Relevant log output

No response

HatTrkPatrk avatar Oct 20 '22 00:10 HatTrkPatrk

I'll check that later on but it seems rather weird to me. I don't interact with keybinds at all and just check the "sneaking state" of the player. So regardless of the keying used, when you sneak you sneak 🙃

So you play in single player or on a server?

Can you share the content of your config file?

Rakambda avatar Oct 20 '22 05:10 Rakambda

I'm on a multiplayer server (one that I host on my LAN).

My config file (for the FallingTree mod): https://pastebin.com/mBhQg8JE

I set it up to require Sneak for the mod to activate. Trees/axes behave as normal (the log you hit is the only one that breaks/is affected) unless sneaking. As for my keybinds, I simply switch LeftCtrl and LeftShift (my personal preference as most other games I play do it that way).

I figure it may help to be able to see it happening, so I also made an OBS recording that demonstrates the issue: https://www.youtube.com/watch?v=TutBOVE9Qoo

HatTrkPatrk avatar Oct 20 '22 07:10 HatTrkPatrk

Is the config file the one of the server or of your client?

Only the value of the server will be used.

Rakambda avatar Oct 20 '22 07:10 Rakambda

Yes, it's the server's.

HatTrkPatrk avatar Oct 20 '22 10:10 HatTrkPatrk

On the client, do you also have "sneakMode": "SNEAK_ENABLE",, or it is the default SNEAK_DISABLE ?

Rakambda avatar Oct 20 '22 11:10 Rakambda

What if you try with this version : https://github.com/RakSrinaNa/FallingTree/actions/runs/3291349481 (in the artifacts sections you'll find a zip containing the jar file)

Rakambda avatar Oct 20 '22 16:10 Rakambda

Actually I think it won't fix your issue (just another one).

I can't reproduce your issue in local. Binding sneak on "h" for example and hitting the tree does work.

https://user-images.githubusercontent.com/1688389/197019108-0ab7b8ba-c529-4ffa-bc95-7883802d5f8b.mp4

Do you manage to reproduce it with just FallingTree ? (like no other mods) It may be an incompatibility with FT and another mod.

Rakambda avatar Oct 20 '22 17:10 Rakambda

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

stale[bot] avatar Nov 12 '22 07:11 stale[bot]