Skip to content

It seems amecs is messing with ctrl and shift keys - while you are pressing them you can't interact with world #77

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
GameBurrow opened this issue Nov 8, 2023 · 6 comments

Comments

@GameBurrow
Copy link

GameBurrow commented Nov 8, 2023

We recently updated our modpack (https://gitlab.com/thesociety/transportcraft-lite/-/releases/2.0.2) to MC 1.20.1 (from 1.19.2) and it seems when amecs is installed we can't use mouse clicks to interact with world while holding ctrl or shift key down.

Removing AMECS fixes this issue

Some things I also tried

  • I tried reset keys to make sure nothing strange carried over from 1.19
  • I tried to delete options options.amecsapi.txt
  • I tried to downgrade the mod (to older 1.20.1 version)

No idea what to try here anymore as this mod is really useful.

@GameBurrow GameBurrow changed the title We recently updated our modpack to MC 1.20.1 (from 1.19.2) and it seems amecs is messing with ctrl and shit keys It seems amecs is messing with ctrl and shift keys - while you are pressing them you can't interact with world Nov 8, 2023
@Pop000100
Copy link

I have found the conflicting mod in my list. Useless Reptiles
It doesn't happen if I extract the embedded library and install them manually, just if the main mod is installed.
But the mod doesn't have the github issues open.

@GameBurrow
Copy link
Author

I have found the conflicting mod in my list. Useless Reptiles It doesn't happen if I extract the embedded library and install them manually, just if the main mod is installed. But the mod doesn't have the github issues open.

Our modpack didn't have that mod in the list so that's not the case for us.

@Pop000100
Copy link

Yeah, I compared mine to your installed all we had in common. then add a couple more at a time.

@Pop000100
Copy link

Pop000100 commented Feb 6, 2024

From the Author of Useless Reptiles.

Sounds more like amecs issue. At worst you can bind fly down key manually. And I don't have issues open on GitHub because I wanted to concentrate all of feedback at Discord. Guess it backfired

But if you still wonder what could happen: that's the code responsible for reading inputs
https://github.com/NordAct/useless-reptile/blob/1.20.1/src%2Fmain%2Fjava%2Fnordmods%2Fuselessreptile%2Fcommon%2Fentity%2Fbase%2FURRideableDragonEntity.java#L95

As you can see: all I do is read inputs. If fly down key is unbound, game will use sprint key for it instead (since sprinting when flying doesn't do practically anything anyway) (edited)

Unbinding fly down from shift+c fixes this issue.

@hatkidchan
Copy link

@Pop000100, did you find the conflicting mod by removing them and testing if it works, or there's a better way to find key conflicts? I have quite a lot of mods to check through (more than 100) and even bisecting would take a while to find the conflict, so I wonder if there's something better than that. Or is there any alternative to AMECS?

@Gn3po4g
Copy link

Gn3po4g commented Oct 18, 2024

Same issue. I need to press ALT + Shift instead of Shift.

--edit--
I removed the shift+* keybindings from jei and it works fine now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants