• Recently Browsing

    No registered users viewing this page.

  • Posts

    • Really old Minecraft versions are no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
    • thank you! I will come back to you    
    • 1.7 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
    • Hi, I'm currently making a looter mob to spawn three different mob skins, but i don't know how to do it. I'm using a 1.5.2 forge src and using eclipse to code my mod. here is my entity looter class. If anyone can use this code to fix it and my mob spawn three skins that would be great.   My entity class:   package WOTWmod.client; import net.minecraft.entity.Entity; import net.minecraft.entity.ai.EntityAIAttackOnCollide; import net.minecraft.entity.ai.EntityAIHurtByTarget; import net.minecraft.entity.ai.EntityAILookIdle; import net.minecraft.entity.ai.EntityAINearestAttackableTarget; import net.minecraft.entity.ai.EntityAISwimming; import net.minecraft.entity.ai.EntityAIWander; import net.minecraft.entity.ai.EntityAIWatchClosest; import net.minecraft.entity.monster.EntityMob; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.world.World;   public class EntityLooter extends EntityMob {     public EntityLooter(World par1World) {         super(par1World);         this.moveSpeed = 0.3F;         this.texture = "/mob/looter.png";         this.tasks.addTask(0, new EntityAISwimming(this));         this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityArtilleryMan.class, this.moveSpeed, false));         this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, this.moveSpeed, false));         this.tasks.addTask(6, new EntityAIWander(this, this.moveSpeed));         this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityArtilleryMan.class, 16.0F, 0, true));         this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 16.0F, 0, true));         this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));         this.targetTasks.addTask(1, new EntityAIHurtByTarget(this, true));         this.tasks.addTask(7, new EntityAILookIdle(this));     }          protected boolean canDespawn() {         return false;     }          protected boolean isAIEnabled()     {         return true;     }          public boolean getCanSpawnHere() {         return this.worldObj.difficultySetting > 0 && this.isValidLightLevel() && super.getCanSpawnHere();     }     @Override     public int getMaxHealth() {         return 45;     } }    
  • Topics

  • Who's Online (See full list)