Create key bind

Started by Renaudrl on Thu, 10/20/2016 - 00:28

Topic category: Bugs and solutions

Last seen on 21:57, 30. Jun 2017
Joined Oct 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Create key bind
Thu, 10/20/2016 - 00:28

Hello , i have create a key bind , for my server launcher.

Build successful

I compile and I go to my server, I executed the key bind but my game crash could you help me

java.lang.NullPointerException: Unexpected error
    at mod.mcreator.mcreator_hotel$KeyHandlerClass.onKeyInput(mcreator_hotel.java:77)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_10_KeyHandlerClass_onKeyInput_KeyInputEvent.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:185)
    at net.minecraftforge.fml.common.FMLCommonHandler.fireKeyInput(FMLCommonHandler.java:555)
    at net.minecraft.client.Minecraft.func_184118_az(Minecraft.java:1958)
    at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1749)
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1055)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:371)
    at net.minecraft.client.main.Main.main(SourceFile:124)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

Last seen on 22:50, 23. Aug 2019
Joined Dec 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Are you trying to make the
Thu, 10/20/2016 - 04:01

Are you trying to make the key spawn a structure? What is the key binded to? 

Please Dear, User provide this information so i may help you.

Last seen on 16:20, 13. Feb 2018
Joined May 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
So you had a compile error
Thu, 10/20/2016 - 12:17

So you had a compile error when you wanted to create a key bind .

Last seen on 21:57, 30. Jun 2017
Joined Oct 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I create a keybind for the
Thu, 10/20/2016 - 12:36

I create a keybind for the command /hotel of my server.