I made a Goomba in Techne, and exported as ModelGoomba.java. I have no idea what to use that as. Animal? Creature? Mob?
I tried with ModLoader and used RenderGoomba and RenderBiped, but they both drew the player model with my Goomba textures. Any suggestions?
Yes. In the "addBox()" line, the very last variable is the scale of the model (0 being the default). If you increase that to 1, your model will be twice as large. Warning that increasing the scale can often make entities look fat and puffy, if you don't add spacing between each box when designing the model.
Hello everybody!
So, can I write -4 there? (So that the Mob is smaller)
I made a Goomba in Techne, and exported as ModelGoomba.java. I have no idea what to use that as. Animal? Creature? Mob?
I tried with ModLoader and used RenderGoomba and RenderBiped, but they both drew the player model with my Goomba textures. Any suggestions?
When you created your model in techne what model type did you chose? Sounds you may have picked a Biped type, when you may ahve wanted to pick ModelBase.
When you created your model in techne what model type did you chose? Sounds you may have picked a Biped type, when you may ahve wanted to pick ModelBase.
just a question to all of you out there... is there a way to put an item into the "Hand" of a non-biped model? because i really need this...
Okay guys, I've been working hard on a secret-ish mod. I am trying to make something that swims underwater...
Here's what i have trouble with: I can't figure out how to make it go UNDER the water. now it just floats on top like any other mob would :/ heres the code:
public class Entity********* extends EntityMob {
public Entity*********(World world)
{
if(this.chunkCoordY >= 53) {
this.motionY -= 1;
}
//this code ^ is what is SUPPOSED to make them go down below the //ocean. Yes, I know, a bad way to execute this but This was what I could find
if(!this.inWater)
{
this.motionX = 0;
this.motionY = 0;
this.motionZ = 0;
}
//this ^ makes the mob do nothing when it's on land(I hope)
Thanks in advance, dylanisawesome1
Hey.
I realize you posted this a long time ago, but if you still haven't figured it out, it has to extend EntityWaterCreature instead of EntityMob.
can someone teach us hust a little on how to put new creature to work in SMP?
i an getting this error, and I know it is because i didn't declare a function, but what function and where i need to declare it?
java.lang.NoSuchMethodException: net.minecraft.src.gnr_EntityWitcher.<init>(net.minecraft.src.World, double, double, double)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.getConstructor(Unknown Source)
at net.minecraft.src.NetClientHandler.handleVehicleSpawn(NetClientHandler.java:186)
at net.minecraft.src.Packet23VehicleSpawn.processPacket(Packet23VehicleSpawn.java:89)
at net.minecraft.src.NetworkManager.processReadPackets(NetworkManager.java:327)
at net.minecraft.src.NetClientHandler.processReadPackets(NetClientHandler.java:57)
at net.minecraft.src.WorldClient.tick(WorldClient.java:62)
at net.minecraft.client.Minecraft.runTick(Minecraft.java:1921)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:891)
at net.minecraft.client.Minecraft.run(Minecraft.java:799)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT 44aeccab ----------
And how about datawatcher? when i need to use it? how it works? what is the pourpose of it?
thanks!
================================EDITED===========================
I found what was causing this error.
When in SMP, you need to create a constructor with coordinates too, like this:
Albert Einstein
I tried with ModLoader and used RenderGoomba and RenderBiped, but they both drew the player model with my Goomba textures. Any suggestions?
Thanks !
Hello everybody!
So, can I write -4 there? (So that the Mob is smaller)
Sorry for my bad English :sad.gif:
When you created your model in techne what model type did you chose? Sounds you may have picked a Biped type, when you may ahve wanted to pick ModelBase.
just a question to all of you out there... is there a way to put an item into the "Hand" of a non-biped model? because i really need this...
+1 If I help please
Hey.
I realize you posted this a long time ago, but if you still haven't figured it out, it has to extend EntityWaterCreature instead of EntityMob.
:ohmy.gif: :biggrin.gif: you sir are awesome. +1 to you!
+1 If I help please
the best way to do this is to look at the source code for other models and play with it some. this is how i made my mob's custom animation.
+1 If I help please
Aha no problem, you can ask me if you have any more questions.
^ copied from ModelCreeper.java
perhaps use this and just play with it.
it took me a while...
+1 If I help please
ugh so i can't seem to figure this out... they now don't move at all! :sad.gif:
no problem :smile.gif: +1?
+1 If I help please
I've never made a water mob.
My guess is because you // out bits of code.
try this:
This didn't work. comments don't usually make a difference but i tried anyways. no go. :/
+1 If I help please
Hmm. Well you should probably try copying/pasting everything from entitysquid, and then changing the drops and adding what ever else you want.
i an getting this error, and I know it is because i didn't declare a function, but what function and where i need to declare it?
And how about datawatcher? when i need to use it? how it works? what is the pourpose of it?
thanks!
================================EDITED===========================
I found what was causing this error.
When in SMP, you need to create a constructor with coordinates too, like this:
public gnr_EntityWitcher(World world, double d, double d1, double d2)
{
this(world);
setPosition(d, d1, d2);
}
this is called by modloader when a creature is spawned in server and need to be created in client side at d's coordinates
Want real chalenge and cool mods? My mods:
Amazing Minecraft Mods
†GnR† Slash - Can one man truly make a difference?
Make high-quality models in the Techne. And do the model in Blender.