Jump to content

larsgerrits

Members
  • Posts

    3462
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by larsgerrits

  1. Have you read the part about updating from IEEP to Capabilities? There's a separate section for that: http://mcforge.readthedocs.io/en/latest/datastorage/capabilities/#migrating-from-iextendedentityproperties.
  2. This is an issue with NEI. It seems like it isn't updated correctly. Also, it uses a lot of core-modding, which is completely unnecessary. I suggest you use JEI instead, as there's currently no fix for NEI, and it got most of the functionality.
  3. 1) You are registering your recipes before the Items , this will not work. 2) Register your Item s in preInit 3) You are registering your renderers in common code, move this to your ClientProxy. 4) Use ModelLoader.setCustomModelResourceLocation instead of Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register 5) Don't instantiate your Items on the same line where you declare them. Do it right before you register them. There are probably more issues with your code, and I'm not going to bother looking for all of them. Either way, the tutorial you are using is pretty bad. Look for a good one instead, or come back here for help after you fix the main 5 issues I pointed out.
  4. Object == new Object() can never be true, as they are different Objects. You have to check if the item of the ItemStack is equal to Items.APPLE . Also, you can use a for-each loop instead of a normal loop.
  5. "type=raw": { "model": "wall_inventory", "textures": { "wall": "tem:blocks/chalkstone" } }, "type=raw" doesn't work that way, you have to do it just like the other variants. Also, you can specify your main model in de default section, instead of 3 times in the type variant.
  6. If you have a missing texture, there has to be an error in the logs. Post them for help.
  7. mcforge.readthedocs.io has a detailed documentation of the Forge blockstate system. It also has documentation for other systems. You might want to check this out before complaining.
  8. Show the error log, WITH the parent changed to item/generated .
  9. If you want to change the color, change the value in your IItemColor / IBlockColor .
  10. You cannot interact with the main Minecraft threads from the networking thread. See the warning at mcforge.readthedocs.org for more information.
  11. Don't use IInventory, use Capabilities. See http://mcforge.readthedocs.io/en/latest/datastorage/capabilities/ for more info.
  12. java.lang.NullPointerException: Updating screen events at com.moreoresmod.main.inventory.InventoryBackpack.writeToNBT(InventoryBackpack.java:172) Should say enough.
  13. I think this is your issue: JVM Flags: 7 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx3G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn384M -Xmx512m You have the -Xmx flag twice, and I suspect it is only using the second one, setting the max to 512M, instead of the 3G you wanted.
  14. After a bit of searching, I have found a few other issues with the same error, and it's about Java crashing with special characters in either the profile name or the full directory path. They solved it by removing special characters from the full directory path. See https://bugs.mojang.com/browse/MCL-774 for more info.
  15. The methods in IRecipe are pretty self-explanatory, so you should be able to figure out the thing you need to do in the methods. Minecraft and Forge have IRecipe implementations you can use for reference. Use your IDE to find them.
  16. Once you place a Block in the world, it forgets the ItemStack 's data, including the display name. This means that if you name a dirt block "oak", place it in the world, and break it, it is just a normal dirt block without a name.
  17. He can still mod for 1.7.10 (although not recommended), but if he runs into problems, he isn't going to get help here.
  18. Can you please explain further? What do you expect to get as a crafting result? And show relevant code, we need it to help.
  19. In your resource pack, you only need to have the models/textures you changed. If you don't have a changed model/texture specified, it will fall back to vanilla Minecraft models/textures. So, if you only want to change the model for the furnace, you only need 1 file in your resource pack.
  20. If they worked in 1.8, and are weird in 1.10.2, the issue is probably that you are using builtin/generated instead of item/generated . Also, if you have a pickaxe model, you should probably look at the vanilla pickaxe model.
  21. 1.7.10 is no longer supported by Forge.
  22. This topic has been moved to Support & Bug Reports. [iurl]http://www.minecraftforge.net/forum/index.php?topic=42810.0[/iurl]
  23. Don't use 1.8. If your game crashes, please post the crash so we can actually help.
×
×
  • Create New...

Important Information

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