Getting an error when trying to create an entity

Started by RazzorWind on Sun, 04/26/2015 - 07:47
Last seen on 23:35, 26. Jul 2015
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Getting an error when trying to create an entity
Sun, 04/26/2015 - 07:47

I seem to be getting an error when ever I try to make an entity. The log is below:

C:\Users\Razzor\Desktop\MCreator 1.5.5 [1.7.10]\forge\build\sources\java\mod\mcreator\mcreator_terrabladeprojectile.java:144: error: no suitable constructor found for EntityAIAttackOnCollide(Entityterrabladeprojectile,Class<EntityBat>,double,boolean)

this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityBat.class, 1.0D, false));                       ^     constructor EntityAIAttackOnCollide.EntityAIAttackOnCollide(EntityCreature,double,boolean) is not applicable       (actual and formal argument lists differ in length)     constructor EntityAIAttackOnCollide.EntityAIAttackOnCollide(EntityCreature,Class,double,boolean) is not applicable       (actual argument Entityterrabladeprojectile cannot be converted to EntityCreature by method invocation conversion) C:\Users\Razzor\Desktop\MCreator 1.5.5 [1.7.10]\forge\build\sources\java\mod\mcreator\mcreator_terrabladeprojectile.java:145: error: no suitable constructor found for EntityAINearestAttackableTarget(Entityterrabladeprojectile,Class<EntityCreeper>,int,boolean) this.targetTasks.addTask(1, new EntityAINearestAttackableTarget(this, EntityCreeper.class, 2, true));                             ^     constructor EntityAINearestAttackableTarget.EntityAINearestAttackableTarget(EntityCreature,Class,int,boolean,boolean,IEntitySelector) is not applicable       (actual and formal argument lists differ in length)     constructor EntityAINearestAttackableTarget.EntityAINearestAttackableTarget(EntityCreature,Class,int,boolean,boolean) is not applicable       (actual and formal argument lists differ in length)     constructor EntityAINearestAttackableTarget.EntityAINearestAttackableTarget(EntityCreature,Class,int,boolean) is not applicable       (actual argument Entityterrabladeprojectile cannot be converted to EntityCreature by method invocation conversion) C:\Users\Razzor\Desktop\MCreator 1.5.5 [1.7.10]\forge\build\sources\java\mod\mcreator\mcreator_terrabladeprojectile.java:146: error: constructor EntityAIHurtByTarget in class EntityAIHurtByTarget cannot be applied to given types; this.targetTasks.addTask(2, new EntityAIHurtByTarget(this, false));                             ^   required: EntityCreature,boolean   found: Entityterrabladeprojectile,boolean   reason: actual argument Entityterrabladeprojectile cannot be converted to EntityCreature by method invocation conversion 3 errors   FAILURE: Build failed with an exception.   * What went wrong: Execution failed for task ':compileJava'. > Compilation failed; see the compiler error output for details.   * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.