1

MODDERS?can any1 borrow me 60 seconds of their time?

TheLarsinator's Avatar TheLarsinator10/4/12 4:04 pm
10/4/2012 5:46 pm
HyJaffa's Avatar HyJaffa
Hello,

ive been trying to make a new mob. I hav been trying to make it work for a while now and eclipse doesn't give me any errors and minecraft runs fine but stil the mob wont spawn!!!

here are the java files: http://www.mediafire.com/download.php?0mjbkdzjqqzh04e

So if any of you modder out there could help me a bit that would be very apreciated!!!

-TheLarsinator
Posted by TheLarsinator's Avatar
TheLarsinator
Level 88 : Elite Engineer
1,086

Create an account or sign in to comment.

15

1
10/04/2012 5:46 pm
Level 43 : Master Modder
HyJaffa
HyJaffa's Avatar
Lol just follow this quicky tutorial
Right now the reason is because modloaders getuniqueentityid no longer works properly the way i fixed this is by using my own getuniqueentityid method within the mod_*** file. Just copy and paste the code below changing what you need in order to customise your mod.


Click to reveal
package net.minecraft.src;

import java.util.Map;
import java.util.logging.Level;
import java.util.logging.Logger;

public class mod_Mobs extends BaseMod
{
private static int startEntityId = -1;

public static int getUniqueEntityId()
{
do
{
++startEntityId;

if (startEntityId > 255)
{
Logger.getLogger("Minecraft").log(Level.WARNING, "Entity Id is greater than 255: " + startEntityId);
}
}
while (EntityList.getStringFromID(startEntityId) != null);

return startEntityId;
}

public void load()
{
ModLoader.registerEntityID(EntityYourMob.class, "YourMob", getUniqueEntityId());
ModLoader.addSpawn(EntityYourMob.class, 30, 1, 5, EnumCreatureType.creature, new BiomeGenBase[]
{
BiomeGenBase.beach,
BiomeGenBase.swampland
});
}

public void addRenderer(Map var1)
{
var1.put(EntityYourMob.class, new RenderYourMob(new ModelYourMob(), 0.2F));
}

public String getVersion()
{
return "Mod Name Here";
}
}
1
10/04/2012 5:42 pm
Level 1 : New Explorer
Primary
Primary's Avatar
dig a 34X34 cave, 3 up and put torches all over the ground...
1
10/04/2012 5:24 pm
Level 88 : Elite Engineer
TheLarsinator
TheLarsinator's Avatar
OK guys i figured it out!!!
1
10/04/2012 5:11 pm
Level 1 : New Miner
mrlegoface
mrlegoface's Avatar
o skype name : crisscrossalex
1
10/04/2012 5:16 pm
Level 88 : Elite Engineer
TheLarsinator
TheLarsinator's Avatar
I dont have skype but what i need is the code to make a new mob. i need the code that goes into the Mod_Rendier.java
1
10/04/2012 5:11 pm
Level 1 : New Miner
mrlegoface
mrlegoface's Avatar
hi there got skype i could help you find what u need
1
10/04/2012 4:45 pm
Level 88 : Elite Engineer
TheLarsinator
TheLarsinator's Avatar
Or does any1 know where i can find a tutorial on how to make them spawn???
1
10/04/2012 4:51 pm
Level 1 : New Miner
Warbee4376
Warbee4376's Avatar
google.com
1
10/04/2012 5:03 pm
Level 88 : Elite Engineer
TheLarsinator
TheLarsinator's Avatar
Ok if thats such a good site why not find one for me! It has to be a tutorial for 1.3.2 using modloader not forge!
1
10/04/2012 5:15 pm
Level 17 : Journeyman Dragonborn
wolfyhero
wolfyhero's Avatar
Or you could not be lazy and find one yourself!
1
10/04/2012 4:26 pm
Level 88 : Elite Engineer
TheLarsinator
TheLarsinator's Avatar
DanTheManRulzTry searching the mod on http://www.skydaz.com this website has automated mod
installers, so you just download it, run it and it will install the mod for you, no clicking and dragging required, but if you cant find the mod, maybe one of ur other mods is effecting this one


I have started with a clean .minecraft.
then i coded and made the model but when i run my mod it wont spawn.
1
10/04/2012 4:21 pm
Level 18 : Journeyman Miner
DanTheManRulz
DanTheManRulz's Avatar
Try searching the mod on www.skydaz.com this website has automated mod
installers, so you just download it, run it and it will install the mod for you, no clicking and dragging required, but if you cant find the mod, maybe one of ur other mods is effecting this one
1
10/04/2012 4:18 pm
Level 27 : Expert Dragon
DAP
DAP's Avatar
Have you followed any online tutorials? Google some
1
10/04/2012 4:12 pm
Level 16 : Journeyman Princess
Tuscany2
Tuscany2's Avatar
idk mods i down load just ,make meh minecraft crash
you may not be instaling it correctly though
1
10/04/2012 4:14 pm
Level 88 : Elite Engineer
TheLarsinator
TheLarsinator's Avatar
I have tried to run it from eclips and MCP. so thats not the problem
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome