- Rendering Issues
-
Rendering Issues
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.
- Rendering Issues
-
Rendering Issues
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
-
Help! Error with ClientProxy code
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?
-
Help! Error with ClientProxy code
But where to I need to define it? This is my first mod so not sure where stuff needs to go etc.
-
Help! Error with ClientProxy code
If I add it in front of the ModelCyborgCreeper I get this error:
-
Help! Error with ClientProxy code
The method ModelCyborgCreeper() is undefined for the type ClientProxy
-
Help! Error with ClientProxy code
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.
-
Create Explosion when entity health <10
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.
-
Create Explosion when entity health <10
Also, my java knowledge is still not perfect. I occasionally keep using BASIC language instead. lol!
-
Create Explosion when entity health <10
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:
-
Help With My First Mod (Compatibility)
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.
-
Help With My First Mod (Compatibility)
If I can find the time I'll check it out. I need forge as I am using other Mods which require forge in my map. Thanks for your help.
-
Help With My First Mod (Compatibility)
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.
IPS spam blocked by CleanTalk.