Jump to content

larsgerrits

Members
  • Posts

    3462
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by larsgerrits

  1. False. You can write them in one order and read them in a totally different order, and it would still work.
  2. These are the things that need to be in a GitHub project. If you have these you can simply clone it, run gradlew setupDecompWorkspace and than your IDE stuff and you have it. No more than that.
  3. He is, he just hasn't put the @Override annotation above the method.
  4. The stepHeight value is in the Entity class...
  5. Set the stepHeight value to 1.0F for 1 block.
  6. Judging by your last reply, you do not know how events work. You don't have to create new instances of an Event, but rather listen to the events posted by Forge/FML. Seriously, google it.
  7. You do not know how events work. Google it, there are plenty of tutorials.
  8. ItemPickupEvent.
  9. ModelRenderer head = ... ModelRenderer horn = ... horn.setRotationPoint(head.rotationPointX,head.rotationPointY,head.rotationPointZ); Also, please stop sending me personal messages when you can ask here on the forums (others can use this information too).
  10. First of all, rename the parameters to something human-readable. It will make it much easier to read and debug code. Second, look at the super classes you extend to make sure you're not missing something.
  11. When using addChild you have to set the child rotation points to the head's rotation points.
  12. Again, that's because your index value is wrong. You are initially setting the index value to the number of blocks in the structure (213), loop through the structure and increment the index 213 times, which results in a total of 628 blocks.
  13. I don't think that matters, as the rendering code would almost be the same.
  14. [lmgtfy=minecraft forge sounds]Google is your friend.[/lmgtfy]
  15. Latest is probaby your best guess for modders, recommended for users. Using the latest version assures you you got the latest additions, as you could've guessed .
  16. Try updating your Forge, it fixed it for me.
  17. I wonder if there's a mod with a GitHub project that does the same thing? (Hint: iChun's Hats mod, it has a GitHub project)
  18. Never make a direct reference to a TileEntity over a long period! It can change and you will crash/bug out. Instead, just have a BlockPos variable you save to and read from NBT, and whenever you need to get the TileEntity, use IBlockAccess#getTileEntity() to get it. This makes sure you don't change a TileEntity that doesn't exist anymore.
  19. Example: new ResourceLocation("modid:path/to/image/image.png"); That will result in assets/modid/path/to/image/image.png .
  20. Entity movement is different from other Minecraft aspects. Entity movement has to be done on both client and server, instead only on the server. Making the entity moe on both sides resolves the lagging behind issue, and maybe the other ones too.
  21. I'd say you follow the call hierarchy to see what it does, and look at the Minecraft classes for example implementations.
  22. Try using the latest mappings, and see if that works. If that doesn't work, it may have to do with your internet connection.
  23. * Where: Build file 'C:\WORK\mc_work\forge\build.gradle' line: 33 Show your complete build.gradle file, and line 33 of that file.
×
×
  • Create New...

Important Information

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