• 2

    posted a message on [SOLVE] Need Help On my Mobs (Minecraft 1.5.1 forge)
    Bump
    i really need some help
    Posted in: Modification Development
  • 1

    posted a message on [SOLVE] Need Help On my Mobs (Minecraft 1.5.1 forge)
    Quote from TKOMOMC111

    for more readable code do like this:

    write spoiler=' ' between "[ ]"
    write code between "[ ]"

    Put your code here

    write /code between "[ ]"
    write /spoiler between "[ ]"

    Do this for each files you have


    Guys i have tried everything on my Mobs but when i spawn it
    It spawn the Same "Biped" pleaaase help me with my codings :)
    I got 2 Mobs but ill send one of my Mob

    1st one
    ModelKirin.class

    package JayrolFirstMods.client;


    import net.minecraft.client.model.ModelBase;
    import net.minecraft.client.model.ModelRenderer;
    import net.minecraft.entity.Entity;

    public class ModelKirin extends ModelBase
    {
    //fields
    ModelRenderer HeadHair;
    ModelRenderer Ears1;
    ModelRenderer Head;
    ModelRenderer Neck;
    ModelRenderer FrontBody;
    ModelRenderer MidBody;
    ModelRenderer Core;
    ModelRenderer RightFoot;
    ModelRenderer LeftFoot;
    ModelRenderer BRightFoot;
    ModelRenderer BackBody;
    ModelRenderer Tail;
    ModelRenderer Hair;
    ModelRenderer BpdyHair;
    ModelRenderer Ears2;
    ModelRenderer HORN;
    ModelRenderer BLeftFoot;

    public ModelKirin()
    {
    textureWidth = 128;
    textureHeight = 64;

    HeadHair = new ModelRenderer(this, 88, 44);
    HeadHair.addBox(0F, 0F, 0F, 15, 15, 5);
    HeadHair.setRotationPoint(-10F, -3F, -19F);
    HeadHair.setTextureSize(128, 64);
    HeadHair.mirror = true;
    setRotation(HeadHair, 0F, 0F, -0.7807556F);
    Ears1.mirror = true;
    Ears1 = new ModelRenderer(this, 35, 16);
    Ears1.addBox(0F, 0F, 0F, 3, 7, 1);
    Ears1.setRotationPoint(-8F, -12F, -17.13333F);
    Ears1.setTextureSize(128, 64);
    Ears1.mirror = true;
    setRotation(Ears1, 0F, 0F, -0.6517617F);
    Ears1.mirror = false;
    Head.mirror = true;
    Head = new ModelRenderer(this, 96, 0);
    Head.addBox(-1F, 0F, 0F, 5, 5, 11);
    Head.setRotationPoint(-1F, -0.4666667F, -27F);
    Head.setTextureSize(128, 64);
    Head.mirror = true;
    setRotation(Head, 0.4709291F, 0F, 0F);
    Head.mirror = false;
    Neck.mirror = true;
    Neck = new ModelRenderer(this, 106, 23);
    Neck.addBox(0F, 0F, 0F, 5, 13, 6);
    Neck.setRotationPoint(-2F, -1F, -19F);
    Neck.setTextureSize(128, 64);
    Neck.mirror = true;
    setRotation(Neck, 0.6444293F, 0F, 0F);
    Neck.mirror = false;
    FrontBody.mirror = true;
    FrontBody = new ModelRenderer(this, 0, 44);
    FrontBody.addBox(0F, 0F, 0F, 9, 9, 11);
    FrontBody.setRotationPoint(-4F, 3F, -12F);
    FrontBody.setTextureSize(128, 64);
    FrontBody.mirror = true;
    setRotation(FrontBody, 0F, 0F, 0F);
    FrontBody.mirror = false;
    MidBody.mirror = true;
    MidBody = new ModelRenderer(this, 0, 25);
    MidBody.addBox(0F, 0F, 0F, 9, 7, 12);
    MidBody.setRotationPoint(-4F, 3F, -1F);
    MidBody.setTextureSize(128, 64);
    MidBody.mirror = true;
    setRotation(MidBody, 0F, 0F, 0F);
    MidBody.mirror = false;
    Core.mirror = true;
    Core = new ModelRenderer(this, 55, 17);
    Core.addBox(0F, 0F, 0F, 9, 5, 3);
    Core.setRotationPoint(-3F, 11F, -5F);
    Core.setTextureSize(128, 64);
    Core.mirror = true;
    setRotation(Core, 0.9397927F, 0F, 0F);
    Core.mirror = false;
    RightFoot.mirror = true;
    RightFoot = new ModelRenderer(this, 58, 40);
    RightFoot.addBox(0F, 0F, 0F, 4, 20, 4);
    RightFoot.setRotationPoint(-4F, 4F, -11F);
    RightFoot.setTextureSize(128, 64);
    RightFoot.mirror = true;
    setRotation(RightFoot, 0F, 0F, 0F);
    RightFoot.mirror = false;
    LeftFoot.mirror = true;
    LeftFoot = new ModelRenderer(this, 58, 40);
    LeftFoot.addBox(0F, 0F, 0F, 4, 20, 4);
    LeftFoot.setRotationPoint(1F, 4F, -11F);
    LeftFoot.setTextureSize(128, 64);
    LeftFoot.mirror = true;
    setRotation(LeftFoot, 0F, 0F, 0F);
    LeftFoot.mirror = false;
    BRightFoot.mirror = true;
    BRightFoot = new ModelRenderer(this, 58, 40);
    BRightFoot.addBox(0F, 0F, 0F, 4, 20, 4);
    BRightFoot.setRotationPoint(-4F, 5F, 8F);
    BRightFoot.setTextureSize(128, 64);
    BRightFoot.mirror = true;
    setRotation(BRightFoot, 0F, 0F, 0F);
    BRightFoot.mirror = false;
    BackBody.mirror = true;
    BackBody = new ModelRenderer(this, 51, 25);
    BackBody.addBox(2F, 0F, 0F, 9, 8, 7);
    BackBody.setRotationPoint(-6F, 3F, 5F);
    BackBody.setTextureSize(128, 64);
    BackBody.mirror = true;
    setRotation(BackBody, 0F, 0F, 0F);
    BackBody.mirror = false;
    Tail.mirror = true;
    Tail = new ModelRenderer(this, 74, 43);
    Tail.addBox(0F, 0F, 0F, 3, 19, 2);
    Tail.setRotationPoint(-1F, 4F, 10F);
    Tail.setTextureSize(128, 64);
    Tail.mirror = true;
    setRotation(Tail, 0.4833219F, 0F, 0F);
    Tail.mirror = false;
    Hair = new ModelRenderer(this, 1, 0);
    Hair.addBox(1F, 0F, -6F, 4, 16, 7);
    Hair.setRotationPoint(-2F, -11F, -12F);
    Hair.setTextureSize(128, 64);
    Hair.mirror = true;
    setRotation(Hair, 0.669215F, 0F, 0F);
    BpdyHair = new ModelRenderer(this, 86, 20);
    BpdyHair.addBox(0F, 0F, 0F, 6, 13, 3);
    BpdyHair.setRotationPoint(-3F, 4F, -1F);
    BpdyHair.setTextureSize(128, 64);
    BpdyHair.mirror = true;
    setRotation(BpdyHair, 1.570796F, 0F, 0F);
    Ears2 = new ModelRenderer(this, 35, 16);
    Ears2.addBox(0F, 0F, 0F, 3, 7, 1);
    Ears2.setRotationPoint(7F, -14F, -18F);
    Ears2.setTextureSize(128, 64);
    Ears2.mirror = true;
    setRotation(Ears2, 0F, 0F, 0.6517583F);
    HORN = new ModelRenderer(this, 48, 0);
    HORN.addBox(0F, 0F, 0F, 1, 1, 13);
    HORN.setRotationPoint(0F, -11F, -32F);
    HORN.setTextureSize(128, 64);
    HORN.mirror = true;
    setRotation(HORN, -0.5576792F, 0F, 0F);
    BLeftFoot = new ModelRenderer(this, 58, 40);
    BLeftFoot.addBox(0F, 0F, 0F, 4, 20, 4);
    BLeftFoot.setRotationPoint(0F, 2F, 6.933333F);
    BLeftFoot.setTextureSize(128, 64);
    BLeftFoot.mirror = true;
    setRotation(BLeftFoot, 0F, 0F, 0F);
    }

    public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5)
    {
    super.render(entity, f, f1, f2, f3, f4, f5);
    setRotationAngles(f, f1, f2, f3, f4, f5, entity);
    HeadHair.render(f5);
    Ears1.render(f5);
    Head.render(f5);
    Neck.render(f5);
    FrontBody.render(f5);
    MidBody.render(f5);
    Core.render(f5);
    RightFoot.render(f5);
    LeftFoot.render(f5);
    BRightFoot.render(f5);
    BackBody.render(f5);
    Tail.render(f5);
    Hair.render(f5);
    BpdyHair.render(f5);
    Ears2.render(f5);
    HORN.render(f5);
    BLeftFoot.render(f5);
    }

    private void setRotation(ModelRenderer model, float x, float y, float z)
    {
    model.rotateAngleX = x;
    model.rotateAngleY = y;
    model.rotateAngleZ = z;
    }

    public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity)
    {
    super.setRotationAngles(f, f1, f2, f3, f4, f5, entity);
    }

    }

    Then its Render same as the cow
    renderKirin.class

    package JayrolFirstMods.client;

    import JayrolFirstMods.client.Entity.EntityKirin;
    import cpw.mods.fml.relauncher.Side;
    import cpw.mods.fml.relauncher.SideOnly;
    import net.minecraft.client.model.ModelBase;
    import net.minecraft.client.renderer.entity.RenderLiving;
    import net.minecraft.entity.Entity;
    import net.minecraft.entity.EntityLiving;
    import net.minecraft.entity.passive.EntityCow;

    @SideOnly(Side.CLIENT)
    public class RenderKirin extends RenderLiving
    {
    public RenderKirin(ModelBase par1ModelBase, float par2)
    {
    super(par1ModelBase, par2);
    }

    public void renderKirin(EntityKirin par1EntityKirin, double par2, double par4, double par6, float par8, float par9)
    {
    super.doRenderLiving(par1EntityKirin, par2, par4, par6, par8, par9);
    }

    public void doRenderLiving(EntityLiving par1EntityLiving, double par2, double par4, double par6, float par8, float par9)
    {
    this.renderKirin((EntityKirin)par1EntityLiving, par2, par4, par6, par8, par9);
    }

    * (Render<T extends Entity)
    public void doRender(T entity, double d, double d1,
    * double d2, float f, float f1). But JAD is pre 1.5 so doesn't do that.
    */
    public void doRender(Entity par1Entity, double par2, double par4, double par6, float par8, float par9)
    {
    this.renderKirin((EntityKirin)par1Entity, par2, par4, par6, par8, par9);
    }
    }

    Then its Entity
    EntityKirin.class


    package JayrolFirstMods.client.Entity;

    import net.minecraft.entity.Entity;
    import net.minecraft.entity.Entity;
    import net.minecraft.entity.EntityAgeable;
    import net.minecraft.entity.EntityCreature;
    import net.minecraft.entity.EntityLiving;
    import net.minecraft.entity.ai.EntityAIAttackOnCollide;
    import net.minecraft.entity.ai.EntityAIAvoidEntity;
    import net.minecraft.entity.ai.EntityAILookIdle;
    import net.minecraft.entity.ai.EntityAIMoveIndoors;
    import net.minecraft.entity.ai.EntityAIMoveThroughVillage;
    import net.minecraft.entity.ai.EntityAIMoveTowardsTarget;
    import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
    import net.minecraft.entity.ai.EntityAIOpenDoor;
    import net.minecraft.entity.ai.EntityAIPlay;
    import net.minecraft.entity.ai.EntityAIRestrictOpenDoor;
    import net.minecraft.entity.ai.EntityAISwimming;
    import net.minecraft.entity.ai.EntityAIVillagerMate;
    import net.minecraft.entity.ai.EntityAIWander;
    import net.minecraft.entity.ai.EntityAIWatchClosest;
    import net.minecraft.entity.monster.EntityCreeper;
    import net.minecraft.entity.monster.EntityMob;
    import net.minecraft.entity.monster.EntityZombie;
    import net.minecraft.entity.monster.IMob;
    import net.minecraft.entity.passive.EntityAnimal;
    import net.minecraft.entity.passive.EntityChicken;
    import net.minecraft.entity.passive.EntityCow;
    import net.minecraft.entity.passive.EntityVillager;
    import net.minecraft.entity.player.EntityPlayer;
    import net.minecraft.item.Item;
    import net.minecraft.item.ItemStack;
    import net.minecraft.world.World;

    public class EntityKirin extends EntityMob {

    public EntityKirin(World par1World) {
    super(par1World);
    this.texture = "/mob/Kirin.png";
    this.moveSpeed = 0.8F;
    this.setSize(3.7F, 4.00F);
    this.getNavigator().setBreakDoors(true);
    this.getNavigator().setAvoidsWater(true);
    this.tasks.addTask(1, new EntityAIAttackOnCollide(this, EntityLiving.class, this.moveSpeed, true));
    this.tasks.addTask(2, new EntityAIMoveTowardsTarget(this, 0.22F, 32.0F));
    this.tasks.addTask(3, new EntityAIWatchClosest(this, EntityChicken.class, 3.0F, 1.0F));
    this.tasks.addTask(4, new EntityAILookIdle(this));
    this.tasks.addTask(8, new EntityAIAvoidEntity(this, EntityVillager.class, 8.0F, 0.3F, 0.35F));
    this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 16.0F, 0, true));
    this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityCow.class, 16.0F, 0, true));
    this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityCreeper.class, 16.0F, 0, true));
    this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityZombie.class, 16.0F, 0, true));
    this.tasks.addTask(8, new EntityAIWander(this, 0.3F));
    {
    }
    }


    public int getAttackStrength(Entity var1)
    {
    return 14;
    }


    public int getMaxHealth() {
    return 2500;


    }
    public boolean isAIEnabled()
    {
    return true;
    }

    protected int getDropItemId()
    {
    return Item.diamond.itemID;
    }


    protected String getLivingSound()
    {
    return "mob.villager.zpig";
    }

    /**
    * Returns the sound this mob makes when it is hurt.
    */
    protected String getHurtSound()
    {
    return "mob.villager.zpighurt";
    }

    /**
    * Returns the sound this mob makes on death.
    */
    protected String getDeathSound()
    {
    return "mob.villager.zpigdeath";
    }

    public int getMaxSpawnedInChunk()
    {
    return 1;
    }

    }

    did i've done something wrong whenever i run.client in Eclipse it always spawn Biped and i dont have errors
    my printscreen
    //www.facebook.com/photo.php?fbid=277769829025834&set=a.277769609025856.1073741825.100003784577778&type=3&theater" target="" data-ensure-absolute>https://www.facebook...p_comment_reply" align="https://www.facebook...p_comment_reply" class="cs_aimg_https://www.facebook...p_comment_reply">
    Posted in: Modification Development
  • 2

    posted a message on Need 1 good coder
    Topic says it all
    I just need 1 good coder coz yeah i am making a big mod and right now im having a pain in the neck
    So if youre interested come comment below :D
    Posted in: Modification Development
  • 0

    posted a message on Help needed!(Modelers, Coders, Texturer, Animator!)
    Hmmm ,, i dont have any modding team but then i also making my own Mod so
    i may still think about it .
    Posted in: Mods Discussion
  • 0

    posted a message on [1.6.2] WATER SHADER ALPHA - OVER 325,000 DOWNLOADS! - ITS BACK! OPTIFINE SUPPORT
    Damn i coulndt get it to work
    Heres my step
    -Force Update Minecraft
    -DOWNGRADE TO 1.5.1
    -INSTALL OPTIFINE D1
    -PUT THE CLASS FILES IN THE minecraft.jar
    -put the Shaders inside the bins folder
    Run it and it black screen
    -Deleted Meta-Inf
    It just crash
    Posted in: Minecraft Mods
  • 0

    posted a message on PLEASE HELP ME WITH MY MOD (URGENT)
    Nice Mod thou it will just fool people :D
    Posted in: Modification Development
  • 0

    posted a message on The Shadow Rift
    I like this but i cant think of a model if you coud make a model then ill make a code for ya :)
    Posted in: Requests / Ideas For Mods
  • 0

    posted a message on (Forge) Boss mob help!
    why wont you post your code so that people will see whats wrong :)
    Posted in: Modification Development
  • 0

    posted a message on Need a Hand Coding a New Mob
    uhm maybe try this hope it helps just change the steve in your mob name and entity name

    ModLoader.registerEntityID(EntitySteve.class, "Steve", 50); //registers our steve
    ModLoader.addSpawn("Steve", 5, 1, 1, EnumCreatureType.creature); //makes it spawn in daylight
    ModLoader.addLocalization("entity.Steve.name", "Steve"); //adds the name
    EntityList.entityEggs.put(Integer.valueOf(50), new EntityEggInfo(50, 894731, (new Color(16, 12, 5)).getRGB())); //adds egg (doesnt work)

    to make your steves spawn in the wild go to BiomeGenBase.java and add this code inside protected BiomeGenBase(int par1):

    this.spawnableCreatureList.add(new SpawnListEntry(EntitySteve.class, 8, 4, 8));
    Posted in: Modification Development
  • 0

    posted a message on Retro Guard Missing Error
    yeah i have the same issue
    Posted in: Modification Development
  • 0

    posted a message on DrZhark's Mo' Creatures (mod suggestion thread)
    Add hostile villages with aggresive people like Indian killers :D
    Posted in: Mods Discussion
  • 0

    posted a message on [1.5.2][FORGE][SSP][SMP] Xtracraft 1.4 - 19 New mobs, over 100 new items, a new dimension, and more!
    Damn this mod really reminds me a game called Ran online hahaha awesssomeee i give the creators a six star
    -hope you guys update this in 1.5.1
    and also i want to see in the future
    (mountable mobs, more boss aside from God like sea monsters xD yeah never seen a mod that deals in the sea, larger village)
    Posted in: Minecraft Mods
  • 0

    posted a message on WE WANT REAL MODS!
    DAMN
    i hope in the future mcpe will be modded.i really like the mod like primitive and mocreatures that's all or just put ender man in the game
    Posted in: MCPE: Mods / Tools
  • 0

    posted a message on [0.6.1] More Crossbows Mod! v.0.1.0 BETA
    OH MY GOD !!!!! U KNOW BRO UR THE FIRST GOOD GUY I EVER SEEN MADE I NICE MOD FOR THE POCKET EDITION
    A BIG HUG FOR ME :D

    GOODLUCK ON YOUR WORK :>
    Posted in: MCPE: Mods / Tools
  • 0

    posted a message on How to make mods for iOS
    Hey Guys Im Heltrato
    I had played Minecraft since 1 mineyear ok
    Well usually i do make mods in mobs because its Java programming
    However in This pocket edition i dont think its Java anymore
    hence there is no Entity file i cant locate
    ................ Well i just need to find out how to make a new entity ID or something so i can make my own Mob and share it to you

    >>>1 last thing Any other programs aside from IDA ???
    Posted in: MCPE: Mod / Tool Discussion
  • To post a comment, please .