Ninjabrain1 / Ninjabrain-Bot

Accurate stronghold calculator for Minecraft speedrunning.
364 stars 50 forks source link

Problem of minecraft on the system linux #19

Closed JINZhao2000 closed 7 months ago

JINZhao2000 commented 2 years ago

I tried to use this plugin with minecraft on the system linux. I found that when I press "k", the command line will show "/" or "/k" (this may be the problem of minecraft) Secondly, jnativehook has many wrong keycode and rawcode for linux, so the F3 + C can't be truely detected

Ninjabrain1 commented 2 years ago

I will look into this further, the fact that it shows "/k" sometimes sounds very weird and it may be a problem with minecraft as you suggest. However, jnativehook isnt used to detect F3+C (unless "Alternative clipboard reader" is enabled in settings), the program simply looks for updates to the clipboard. Can you confirm that "Alternative clipboard reader" is turned off and the bot still has problems detecting F3+C?

JINZhao2000 commented 2 years ago

I've tested that this application uses the second clipboard (which use ctrl + c/v to copy/paste). So I think it's maybe the problem of keyboard mapping ? I have tried alse the problem of command line, it is really the problem of Minecraft, not the problem of this application(@Mojang ? rofl).

ghost commented 2 years ago

image image

I'm also having the same issue

SuperIsakSwahn commented 2 years ago

If you're new to this mod make sure you really make a creativeworld, my########## inventory got cleared

SuperIsakSwahn commented 2 years ago

If you're new to this mod make sure you really make a creativeworld, my########## inventory got cleared

Oh sorry for swearing

aellul27 commented 2 years ago

Can confirm. Commands are entered wrong, often with /k / or a command repeated three times. I am using Ubuntu Linux 22.04 with Minecraft Fabric 1.16.1

younishd commented 1 year ago

+1

Whop42 commented 1 year ago

i'm also having this problem (arch linux, 1.16.1 (w/ fabric 14+))

Whop42 commented 1 year ago

it seems to be using "k" instead of "/" in secondary commands image

GroobleDierne commented 9 months ago

@JINZhao2000 should be fixed with version 1.4.2

Ninjabrain1 commented 7 months ago

should be fixed version 1.4.2