ViktorNguyen Posted July 14, 2020 Posted July 14, 2020 Do i need to use Deferred Registry to registry key bind Quote
ViktorNguyen Posted July 14, 2020 Author Posted July 14, 2020 [1.15.2] i forgot to add the version to this topic title Quote
vemerion Posted July 14, 2020 Posted July 14, 2020 On 7/14/2020 at 5:16 PM, ViktorNguyen said: Do i need to use Deferred Registry to registry key bind Expand No, you do not need to use deferred registry, you can add a custom keybinding in the FMLClientSetupEvent like so: keyBinding = new KeyBinding("description here", GLFW.GLFW_KEY_P, "category here"); // keyBinding is a static variable ClientRegistry.registerKeyBinding(keyBinding); Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.