Fabric API

Fabric API

112M Downloads

"import net.minecraft.client.option.KeyBinding" was wrong

ZhillerDev opened this issue ยท 1 comments

commented

Discussed in https://github.com/orgs/FabricMC/discussions/3251

Originally posted by ZhillerDev August 11, 2023

Description

Hi!
Unfortunately, this issue has been bothering me for a few days now.
When I tried to use KeyBinding, I was prompted that I couldn't find this library.

Here is the code of import KeyBinding
import net.minecraft.client.option.KeyBinding;

When I found the location of the library, I found that there was only one ChatVisibility.java file in the option folder, and there were no files related to KeyBinding

Perhaps I should download a new library and move it in? But I can't find anywhere to download.

commented

๐Ÿ‘‹ We use the issue tracker exclusively for final bug reports and feature requests. However, this issue appears to be better suited for either a discussion thread, or a message on our discord server. Please post your request on one of these, and the conversation can continue there.