Posted June 21, 201312 yr I am trying to add an entity to the game that acted like a vehicle. So to test I copied the boat entity in to a new entity then registered it with entityregstry but when I click to spawn the entity an error comes up and the entity doesn't spawn. Here are the links to the files: Github repo: https://github.com/PortMods/MechCraft/tree/master/common/com/portmods/mechcraft Full Error output: http://pastebin.com/Pjdj06BA This is only a test for a mod I'm making so some of the name will look funny.
June 21, 201312 yr try{ code that fails catch(Exception e{ e.printStackTrace(); } how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
June 21, 201312 yr Author Sorry should rephrase. I want to create a new type of vehicle in minecraft. What I did was to copy the boat entity code in to a new entity then get a test item to spawn the entity in to the world using if (!par2World.isRemote) { par2World.spawnEntityInWorld(entity); } But when I right click I get the error : "Silently" catching entity tracking error. 2013-06-21 14:59:06 [iNFO] [sTDERR] net.minecraft.util.ReportedException: Adding entity to track The full code is on the github repo
June 21, 201312 yr I don't have access to github (blocked by work network) also, when you insert a error trace, can you please put more then just 1 line. Because this line is just saying there was an error, doesnt say where it comes from Cheers, -hydroflame, FRev- how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.