Jump to content

larsgerrits

Members
  • Posts

    3462
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by larsgerrits

  1. Yes, you can use whatever class you want.
  2. I don't know if there's a better way, but I couldn't find a PlayerDeathEvent or something similar. Subscribe to the LivingHurtEvent , and check if the EntityLivingBase is an instanceof EntityPlayer , and if the damage will kill the player and is between your "saving" threshold, set the damage to 0 to not take damage and give him health if you need.
  3. I always use an interface with default methods and only override them in the proxy I need it in. Yes, it forces my mod on Java 8 and higher, but most users should be using Java 8 by now. Also, code that should be on both side shouldn't be in a proxy, as it kinda defeats the purpose of a proxy: code that needs to be run on a specific side, not both.
  4. 1.7.10 is no longer supported by Forge.
  5. hasTileEntity(IBlockState) Return a new instance of your TileEntity . No, you remove that method and keep your code in your TileEntity .
  6. If you can't figure it out yourself, post the crash log.
  7. Do you by any chance have the ClientProxy override preInit without calling super.preInit() , causing the TileEntity not to be registered on the client side?
  8. Powered by Forge 13.19.0.2130 This tells me you are not using the latest version (13.19.1.2195). Update and that should fix it.
  9. From the video, I'd say you are making new slots with the same IDs, thus having the same ItemStack in both slots.
  10. Remove the mods 1 by 1 (including Optifine) to see what's causing the issue. Probably Optifine being Optifine.
  11. Are you using the latest version of Forge (1.11-13.19.1.2195)? Can you post the logs?
  12. 1.7.10 is no longer supported by Forge.
  13. Minecraft only accepts textures with a size of a multiple of 16x16 pixels. This has nothing to do with the color depth of the image, which indicates how many bits it uses for each color.
  14. Well, seeing it now has to do with your image having a bad signature, you can try saving it again or try to remake the image.
  15. 1.7.10 is no longer supported by Forge.
  16. Update Forge, this has already been fixed.
  17. Allocate more RAM to Minecraft.
  18. If you download the MDK, you should get the example with you. Which version did you download, and from where?
  19. There are a lot of jerks on the internet redistributing mods so they generate income instead of the authors of the mods. Sometimes, they contain malware and viruses. They also claim that mods work on the latest version of Minecraft, while they are not made for it. This will, quite clearly, not work. Only download from Curse. the Minecraft Forums and the mod owners' website, if they have one. Only download Forge from the Forge File Server, located here.
  20. You made it for a block, which already has the standard animation with mcmeta files. He did it for armor, which doesn't have that, so he had to do it himself.
  21. In your run configurations, add --username "YourUsername" to your program arguments. If you want to actually log in, you can also add --password the same way you did your username.
  22. You should call ModBlocks.registerBlock inside the ModBlocks.registry method, replacing the current GameRegistry.register methods, so you don't register an ItemBlock for each block twice.
  23. http://bfy.tw/7454 This should be enough to understand it.
  24. Well, to call that method to register a Block , you need to pass in the Block you want to register. So you have to call that method for each block you have.
  25. http://bfy.tw/927r
×
×
  • Create New...

Important Information

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