Posted March 25, 201510 yr So I am making NPCs and They are not ment to be EntityCreature (lot of useless fields). EntityLiving is what I am after. I registered EntityNPC extending EntityLiving and comman /summon won't let me me spawn it. What is required (in code) to make implementation of EntityLiving (or how do i spawn it with /summon)? Note: Yes, entity is registered in EntityList. (checked) Chat msg: "Unable to summon object" 1.7.10 is no longer supported by forge, you are on your own.
March 25, 201510 yr "Unable to summon object" means the summoning of your entity throwed an exception. I think there would be messages in your console. Author of Tao Land Mod. http://taoland.herbix.me/images/1/14/TaoLandLogo.png[/img] Also, author of RenderTo ---- I'm not an English native speaker. I just try my best.
March 25, 201510 yr Author [04:12:27] [server thread/WARN]: Skipping Entity with id NPC [04:12:27] [Client thread/INFO]: [CHAT] Unable to summon object It's like /summon doesn't see it, it's not an error (this message is also displayed if you put random entity name in command - non existant, like /summon dfafa, so that's not an "error"). For sake: EntityRegistry.registerModEntity(EntityNPC.class, "NPC", 0, InitUtil.ModID, 160, 1, true); 1.7.10 is no longer supported by forge, you are on your own.
March 25, 201510 yr Maybe it's /summon modid.NPC? You used registerModEntity, the entity id in your mod would have a common prefix "modid.". Author of Tao Land Mod. http://taoland.herbix.me/images/1/14/TaoLandLogo.png[/img] Also, author of RenderTo ---- I'm not an English native speaker. I just try my best.
March 25, 201510 yr Maybe it's /summon modid.NPC? You used registerModEntity, the entity id in your mod would have a common prefix "modid.". Yes I agree that I think you have to put modid prefix. In one of my mods with lots of custom entities I got tired of either forgetting to put my modid or tired of typing it when I remembered. So I created my own command called /conjure. I have a tutorial on this if you're interested: http://jabelarminecraft.blogspot.com/p/minecraft-forge-172.html Check out my tutorials here: http://jabelarminecraft.blogspot.com/
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.