GmaN98
-
Posts
9 -
Joined
-
Last visited
Posts posted by GmaN98
-
-
Can I add that to the Npc entity class or would I have to make that its own class like EntitySpawn?
-
This is seriously going to make my head explode....
-
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
-
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.
-
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!
-
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.
-
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.
-
this is what got it to work for me
@Override @SideOnly(Side.CLIENT) public void registerIcons(IconRegister iconRegister) { this.itemIcon = iconRegister.registerIcon("modname:itemname");
Entity Spawning question
in Modder Support
Posted
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!