So is the mob spawning, but not rendering, or rendering, but not spawning? Or both of these problems?
Sorry I should've been clearer. The mob will spawn but not every time. But it will only show the shadow of the mob. The mob can be pushed(shadow moves) but not hit. It also will not damage the player. Another miner detail is that the egg isn't named.
I've finished coding my first mod which contains a new mob. Nothing amazing or outstanding I know, but you need to start somewhere! I am having some problems though with the mob not rendering or spawning. Here is all my code. If you see what I need to change I would appreciate you posting it for me!
mod_CyborgCreeper.java : http://pastebin.com/VXdx5MNd
ModelCyborgCreeper.java : http://pastebin.com/9JKzvQ57
RenderCyborgCreepr.java : http://pastebin.com/jTJ06Xap
EntityCyborgCreeper.java : http://pastebin.com/EeGW1Jxy
ClientProxy.java : http://pastebin.com/c15fApma
CommonProxy.java : http://pastebin.com/SXFu1hCk
Many Thanks,
LamboSV
Ok, I've added that and there are no errors picked up by eclipse. However, when I load the game, it only spawns the shadow of the mob. The mob is there is you can move it but it isn't rendered. Any advice?
I am almost finished making my first mod after following this tutorial:http://www.youtube.com/watch?v=zmxASGybkV8. I've got an error in my ClientProxy that I don't know how to fix:
package cyborgcreeper.client;
import cpw.mods.fml.client.registry.RenderingRegistry;
import CyborgCreeperPackage.CommonProxy;
import CyborgCreeperPackage.*;
import net.minecraft.src.*;
import net.minecraft.client.model.*;
public class ClientProxy extends CommonProxy{
public void registerRenderInformation(){
RenderingRegistry.registerEntityRenderingHandler(EntityCyborgCreeper.class, new RenderCyborgCreeper(ModelCyborgCreeper(), 1.0F));
}
}
Can anyone help the error is at the new RenderCyborgCreeper part.
Sorry for all the extra posts:
I believe that code is wrong as I do not have explosion radius set up. I grabbed some of the from the creeper properties.
I am making a mod just now and I'm stuck at one line of code. Basically I want my mob to explode if it is in combat and its health <10
I thought something like:
Well I need to add my own Mobs and bosses. In one map I need to use the dimensions created by Divine RPG and in another I need the More Swords Mod since I will be making extremely powerful mobs for it.
I give up! Can't do this. I really need to be able to make some mods for my new adventure maps but I don't have the time to learn Java.
The Mod Maker I used is designed for Mod Loader that's the only reason I have the problem. If anyone knows a good Mod Maker for Forge on 1.4.7 or above then I would appreciate it.