Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About cruXcon

  • Rank
    Tree Puncher


  • Gender
  • Location
  1. That is too bad. Thank you for your quick reply
  2. so this was removed in 1.9 or why has it worked before?
  3. was this changed in 1.9 or why isn't it working anymore? And isn't there another possibility to proof whether an animal is ready for breeding?
  4. I am using Forge 1.9.4- trying to check if an Animal is able to create a new Child. In the last versions i could check if getGrowingAge() == 0. The function description of getGrowingAge is: Now the problem is, that getGrowingAge() never is 0. It is 1 for adult animals and -1 for children. Normally it should trend to 0 but it doesn't seem to change a little bit. Is this behavior a Forge bug or my fault?
  5. Thank you Dude! In the end this was the solution: gradlew --refresh-dependencies build This thread can be closed.
  6. KeyHandler was removed in 1.7.2 KeyHandler: The KeyBinding.class is placed in net.minecraft.client.settings
  7. Okay, thank you for this. The line where the StackTrace starts is: "if(mybinding.isPressed())" I inserted world.isRemote but my Problem now is, how do i get the World Object and which one is right. This is the part where i am accessing to the Keybind: @SubscribeEvent public void KeyInputEvent(InputEvent.KeyInputEvent event) { if (!FMLClientHandler.instance().isGUIOpen(GuiChat.class)) { if(mybinding.isPressed() && world.isRemote) { EntityClientPlayerMP var2 = FMLClientHandler.instance().getClient().thePlayer; FMLClientHandler.instance().disp
  8. Ok i changed it, but it doesn't work anyway. Any suggestions? Now i changed the main part to: This is my ClientProxy: And this is my CommonProxy
  9. Yes i reobfuscated and used the files of build/classes/main. This is the full Code of KeyHandler.class If you need more, just tell me. and this is where i register the KeyHandler: public void load(FMLInitializationEvent event) { proxy.registerRenderers(); FMLCommonHandler.instance().bus().register(new KeyHandler()); RenderBreedingItem Item = new RenderBreedingItem(); Item.load(); }
  10. I tried to write a KeyHandler, but when i used the Method "Keybinding.isPressed()" everything works fine in Eclipse, but after recompiling and testing with my normal Launcher i got this StackTrace: This is the code, the StackTrace points to. if(this.stats.isPressed()) { EntityClientPlayerMP var2 = FMLClientHandler.instance().getClient().thePlayer; FMLClientHandler.instance().displayGuiScreen(var2, new GuiCowMod()); } Thanks for your help
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.