Jump to content

GmaN98

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by GmaN98

  1. Ok I have created that, and I am looking at other examples on how to go about writing the code for this NPC. Most I have seen are for animals and items, BUT I am also using the EntityRegistry.class file in forge as reference as well....this is going to take a while just to spawn one NPC haha!
  2. Can I add that to the Npc entity class or would I have to make that its own class like EntitySpawn?
  3. This is seriously going to make my head explode....
  4. ok so I found getCanSpawnHere in EntityLiving so would it be safe to say I can apply that code to the actual Npc class, or would I have to make a separate class just to get it to spawn
  5. I use eclipse so Ill have to look that up too. And I love how you code, you made everything more clearer. If it wasn't for you, id still be back at the beginning.
  6. Like as in look around in Forge, or on this site. Also I did run into your Github from another forum earlier tonight and I just want to say thank you for the help it has given me tonight. You are awesome!
  7. I pretty much want them to spawn naturally as the world loads like animals and villagers. Actually this class is extending EntityCreature at the moment.
  8. I have searched through the site but I haven't really found a concrete answer as I am working a mod that relies heavily on NPCs spawning on their own in the world. I am pretty new to modding and I have spent all day building the NPC, adding its AI, but for the life of me I cant figure out how to go about making sure it spawns when the world generates. Any and all suggestions are super welcome.
  9. this is what got it to work for me @Override @SideOnly(Side.CLIENT) public void registerIcons(IconRegister iconRegister) { this.itemIcon = iconRegister.registerIcon("modname:itemname");
×
×
  • Create New...

Important Information

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