Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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.

  • 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.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.