1
MODDERS?can any1 borrow me 60 seconds of their time?
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
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
Create an account or sign in to comment.
15
1
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.
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
dig a 34X34 cave, 3 up and put torches all over the ground...
1
OK guys i figured it out!!!
1
o skype name : crisscrossalex
1
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
hi there got skype i could help you find what u need
1
Or does any1 know where i can find a tutorial on how to make them spawn???
1
google.com
1
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
Or you could not be lazy and find one yourself!
1
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
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
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
Have you followed any online tutorials? Google some
1
idk mods i down load just ,make meh minecraft crash
you may not be instaling it correctly though
you may not be instaling it correctly though
1
I have tried to run it from eclips and MCP. so thats not the problem