@Override public void setEnterDoors(boolean value) { super.setEnterDoors(value); nodeProcessor.setCanEnterDoors(value); }
public EntityAggressiveVillager(World worldIn) { super(worldIn); ((PathNavigateGround) getNavigator()).setEnterDoors(true); }
public EntityHunterTrainer(World world) { super(world, false); saveHome = true; hasArms = true; ((PathNavigateGround) this.getNavigator()).setEnterDoors(true); this.setSize(0.6F, 1.95F); this.setDontDropEquipment(); }
public EntityAdvancedHunter(World world) { super(world, true); saveHome = true; ((PathNavigateGround) this.getNavigator()).setEnterDoors(true); this.setSize(0.6F, 1.95F); this.setDontDropEquipment(); }
public EntityBasicHunter(World world) { super(world, true); saveHome = true; ((PathNavigateGround) this.getNavigator()).setEnterDoors(true); this.setSize(0.6F, 1.95F); this.setDontDropEquipment(); this.attackMelee = new EntityAIAttackMelee(this, 1.0, false); this.attackRange = new EntityAIAttackRangedCrossbow(this, this, 0.6, 60, 20); this.updateCombatTask(); }
@Override protected void initEntityAI() { ((PathNavigateGround) getNavigator()).setEnterDoors(true); ((PathNavigateGround) getNavigator()).setBreakDoors(true); tasks.addTask(0, new EntityAISwimming(this)); tasks.addTask(1, new EntityAITalkingTo(this)); tasks.addTask(1, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F)); tasks.addTask(4, new EntityAIOpenDoor(this, true)); tasks.addTask(6, new EntityAIWander(this, 0.5D)); tasks.addTask(9, new EntityAIWatchClosest(this, EntityPlayer.class, 3.0F, 1.0F)); tasks.addTask(9, new EntityAIWatchClosest(this, EntityNPC.class, 5.0F, 0.02F)); } }
@Override protected void initEntityAI() { ((PathNavigateGround) getNavigator()).setEnterDoors(true); ((PathNavigateGround) getNavigator()).setBreakDoors(true); tasks.addTask(0, new EntityAISwimming(this)); tasks.addTask(1, new EntityAITalkingTo(this)); tasks.addTask(1, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F)); tasks.addTask(4, new EntityAIOpenDoor(this, true)); pathing = new EntityAIPathing(this); tasks.addTask(5, pathing); tasks.addTask(6, new EntityAISchedule(this)); tasks.addTask(9, new EntityAIWatchClosest(this, EntityPlayer.class, 3.0F, 1.0F)); tasks.addTask(9, new EntityAIWatchClosest(this, EntityNPC.class, 5.0F, 0.02F)); }
pathNavigateGround.setEnterDoors(dragon.isHatchling());