Jump to content

crackedEgg

Members
  • Posts

    60
  • Joined

  • Last visited

Everything posted by crackedEgg

  1. I don't think that's it. That code has been there for a few versions back. I'm having the same problem with my parachute mod. It started with version 1.6.2. The only forge version I have tried is 789. Let us know if you find a solution. I can't find any minecraft code for the boat that has changed from the previous working version.
  2. You should have a look at how the animations are done in ModelQuadruped. It's in the setRotationAngles function.
  3. I know it's a little late but here's how I do it in 1.4.7 In your Item class @Override public String getArmorTextureFile(ItemStack itemstack) { if (itemstack.itemID == MinerHelmet.itemHelmet.itemID) { // change textures to match the state of the light (on|off) if (MinerHelmet.getInstance().getLightSwitchedOff()) { return "/textures/helmetLightOff.png"; } else { return "/textures/helmetLightOn.png"; } } return "/textures/helmetLightOff.png"; }
  4. Use one or the other. I use registerGlobalEntityID(...) because I want spawn eggs. If you use both you will see errors in the logs. You can try it and see for yourself.
  5. I run my server using the method that luacs1998 posted. However before that method was available I used archive manager to install the forge files to the server jar. Never had any problems. open both the forge universal file and the minecraft server file in two instances of archive manager. Then CTRL+A in the forge archive manager and drag it to the minecraft_server.jar archive manager. done.
  6. you can have a look at how I did this, the code is here: https://github.com/m1k3s/reptiles
  7. Thanks again for your help, I got it working. I had to use FMLClientHandler.instance().sendPacket(packet); in my sendCustomPacket method. Using any of the 'getServer' methods failed with NPE.
  8. Thanks, I'm trying to grasp how to get this to work. I get an NPE when I call my sendPacket method. I think the server instance is null. Do I need to implement IConnectionHandler and PlayerInfo as well? But I get the idea now anyway. Thank you very much.
  9. I have a parachute mod that works in multiplayer except that I can't seem to use a key binding. I press a key © to add some lift to the parachute, it works fine in singleplayer, LAN, but doesn't seem to respond in multiplayer. I recently converted this mod to FML, getting rid of all modloader code. What do I need to do to get this keybinding working serverside? Any help would be appreciated. I can't find anything on google or seaching these forums. I'm using FML recommended.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.