Hey,
I have a problem with all my game capturing software not actually recording the games and only the audio input from my mic, the game, and my VOIP software. I have a 64-bit Windows 7 with DirectX 11 if that matters. I could really use some help.
I recently tried updating my mod for 1.0.0 to 1.3.1, and everything seems to work fine, but my mob isn't spawning. Apparently this is a problem with 1.3.1, but I was wondering if there's a solution. Since I haven't coded since late last year, everything's a big rough. Here are all the class files (the mod_ one is chopped down since I can't have you taking my code )
Oh yeah, I'm using ModLoader
mod_ class
package net.minecraft.src;
import java.util.*;
public class mod_poop BaseMod {
public void load() {
ModLoader.registerEntityID(EntityPoo.class, "Poowie", ModLoader.getUniqueEntityId());
ModLoader.addSpawn(EntityPoo.class, 1, 1, 5, EnumCreatureType.creature);
}
public void AddRenderer(Map map)
{
map.put(EntityPoo.class, new RenderPoo(0.5F));
}
}
Entity Class
package net.minecraft.src;
import net.minecraft.client.Minecraft;
public class EntityPoo extends EntityCreature {
public EntityPoo(World world)
{
super(world);
texture = "/mea99/pm.png";
moveSpeed = 1.0F;
int attackStrength = 2;
setSize(0.4F, 0.4F);
}
public void writeEntityToNBT(NBTTagCompound nbttagcompound)
{
super.writeEntityToNBT(nbttagcompound);
}
protected int getDropItemId()
{
return mod_poop.poop.blockID;
}
protected boolean canDespawn()
{
return true;
}
@Override
public int getMaxHealth() {
// TODO Auto-generated method stub
return 5;
}
}
Render class
// Date: 13/11/2011 5:26:18 PM
// Java generated by Techne
// This is the first stage to more output options
// and therefore a very basic Render-File
// I hope it will be useful, in any case, leave
// feedback so I can improve on it
// - ZeuX
package net.minecraft.src;
public class RenderPoo extends RenderLiving
{
public RenderPoo(float f)
{
super(new ModelPoo(), f);
}
public void renderNew(EntityLiving entityliving, double d, double d1, double d2,
float f, float f1)
{
super.doRenderLiving(entityliving, d, d1, d2, f, f1);
}
public void doRenderLiving(EntityLiving entityliving, double d, double d1, double d2,
float f, float f1)
{
renderNew(entityliving, d, d1, d2, f, f1);
}
public void doRender(Entity entity, double d, double d1, double d2,
float f, float f1)
{
renderNew((EntityLiving)entity, d, d1, d2, f, f1);
}
}
I haven't been adding anything new because I'm lazy, and haven't been playing MC for a while. I may update it for 1.3 in the future, but don't count on it.
I haz a plan, I will start coding a mod that is like an "expansion pack" on this! The Poopmension! You make a portal frame out of Poop, and right click it with a feather! The dimension will just be Poop blocks everywhere, with Poowies crowding the place! Great idea, huh?
You should learn! It's fun! I learned Java for about a month or two before I started Minecraft modding. Although I know some people who make Minecraft mods first then learn Java.
nice mod, and is your current minecraft skin involving a either green or yellow creeper shirt? im just wondering cuz im using team infinity to pull a prank on some friends o my server and i want to see if i get the players current skin when i use their username
Umm, yes it does. And you have permission, I guess :tongue.gif:Okay, i added screenshots, so i hope you can now trust me :tongue.gif:
0
0
0
0
I have a problem with all my game capturing software not actually recording the games and only the audio input from my mic, the game, and my VOIP software. I have a 64-bit Windows 7 with DirectX 11 if that matters. I could really use some help.
Thanks in advance
0
I recently tried updating my mod for 1.0.0 to 1.3.1, and everything seems to work fine, but my mob isn't spawning. Apparently this is a problem with 1.3.1, but I was wondering if there's a solution. Since I haven't coded since late last year, everything's a big rough. Here are all the class files (the mod_ one is chopped down since I can't have you taking my code
Oh yeah, I'm using ModLoader
mod_ class
Entity Class
Render class
Model class
I would be very appreciative if you could help solve my problem. If you can't, thank you anyway
~mea99
0
0
0
0
0
0
0
0
Holy **** brah, thanks so much! I will add to OP :biggrin.gif:
0
The links are broken.
And shame on me for posting on an old thread. Might as well give me a warning.
0
oh crap, really? i am downloading some screenshots that mad took of it now, so hopefully this post doesn't get deleted before thta happens :/
Umm, yes it does. And you have permission, I guess :tongue.gif:Okay, i added screenshots, so i hope you can now trust me :tongue.gif: