Keybind to numpad key won't compile

Published by morlanjo on Tue, 12/31/2019 - 03:19
Upvotes: 1
Issue description

When I create a key bind specifying a numpad key it won't compile, error. I've tried different num keys and they don't seem to work. Other keys compile fine.


Executing gradle task: build
Build info: MCreator 2019.5.51710, 1.14.4, 64-bit, 16336 MB, Windows 10, JVM 1.8.0_222, JAVA_HOME: D:\Projects\minecraft\mcreator\jdk
> Configure project :
New Dep: net.minecraftforge:forge:1.14.4-28.1.106_mapped_snapshot_20190719-1.14.3
> Task :compileJava FAILED
D:\Projects\minecraft\MCreatorWorkspaces\saxy_mod\src\main\java\net\mcreator\saxy_mod\ error: cannot find symbol
      keys = new KeyBinding("key.mcreator.saxykeybinda5", GLFW.GLFW_KEY_NUMPAD4, "key.categories.misc");
  symbol:   variable GLFW_KEY_NUMPAD4
  location: class GLFW
1 error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.

Issue comments

Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.